<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:14:27 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-2187] Key file path, key file password, and certificate authority file path must be escaped in MongoDB URI</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2187</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Allowing an unescaped &quot;/&quot; or other special character in the key file path, key file password, or the certificate authority file path introduces a parsing ambiguity. It violates the &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/connection-string/connection-string-spec.rst#reference-implementation&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Connection String Spec&apos;s algorithm&lt;/a&gt;, which requires a driver to parse hostnames and user info from the URI segment before the &lt;b&gt;last&lt;/b&gt; &quot;/&quot; character, and requires the driver to parse the options from the segment after the last &quot;/&quot; character. Thus we can&apos;t correctly parse a  URI like this without violating the spec:&lt;/p&gt;

&lt;p&gt;&quot;mongodb://server/?sslclientcertificatekeyfile=/tmp/key.pem&quot;&lt;/p&gt;

&lt;p&gt;We can&apos;t parse that string while conforming to the spec, because the segment before the last &quot;/&quot; character is this:&lt;/p&gt;

&lt;p&gt;&quot;mongodb://server/?sslclientcertificatekeyfile=/tmp&quot;&lt;/p&gt;

&lt;p&gt;Instead, we must require this syntax:&lt;/p&gt;

&lt;p&gt;&quot;mongodb://server/?sslclientcertificatekeyfile=%2Ftmp%2Fkey.pem&quot;&lt;/p&gt;</description>
                <environment></environment>
        <key id="392563">CDRIVER-2187</key>
            <summary>Key file path, key file password, and certificate authority file path must be escaped in MongoDB URI</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13202">Works as Designed</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Sun, 11 Jun 2017 01:24:25 +0000</created>
                <updated>Fri, 27 Oct 2023 13:14:20 +0000</updated>
                            <resolved>Fri, 16 Jun 2017 16:07:59 +0000</resolved>
                                    <version>1.7.0</version>
                                    <fixVersion>1.7.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1599314" author="jesse" created="Fri, 16 Jun 2017 16:07:59 +0000"  >&lt;p&gt;Nevermind, other drivers like PyMongo allow &quot;/&quot; in paths too. We&apos;ve updated the spec to search the URI &lt;b&gt;forward&lt;/b&gt; for the first slash instead of backward for the last, so slashes in paths are ok now.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="349825">CDRIVER-2004</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="392562">CDRIVER-2186</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht100n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>