<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:00:34 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>[CXX-854] ConnectionString::parse  not correct when pwd have char @</title>
                <link>https://jira.mongodb.org/browse/CXX-854</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;when pwd have @ parsed host not correct.&lt;br/&gt;
example:&lt;br/&gt;
cs=ConnectionString::parse(&quot;mongodb://abc:abcserver#@!@10.1.141.25:27017/JCDATA?maxPoolSize=60&quot;,errormsg);&lt;br/&gt;
host=&quot;!@10.1.141.25&quot;&lt;/p&gt;</description>
                <environment></environment>
        <key id="267927">CXX-854</key>
            <summary>ConnectionString::parse  not correct when pwd have char @</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="david.golden@mongodb.com">David Golden</assignee>
                                    <reporter username="chinaman_a">chinaman_a</reporter>
                        <labels>
                            <label>legacy-cxx</label>
                    </labels>
                <created>Thu, 25 Feb 2016 07:46:33 +0000</created>
                <updated>Mon, 8 Jan 2024 15:30:47 +0000</updated>
                            <resolved>Tue, 7 Feb 2017 18:53:43 +0000</resolved>
                                    <version>legacy-1.1.0</version>
                                                    <component>API</component>
                    <component>Implementation</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1494147" author="david.golden" created="Tue, 7 Feb 2017 18:53:43 +0000"  >&lt;p&gt;Given that we don&apos;t anticipate putting resources against the legacy driver any time soon, I&apos;m closing this ticket as &quot;Won&apos;t Fix&quot;.&lt;/p&gt;</comment>
                            <comment id="1184621" author="jason.carey" created="Thu, 25 Feb 2016 16:55:22 +0000"  >&lt;p&gt;In general, the &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/connection-string/connection-string-spec.rst&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb uri format&lt;/a&gt; requires that special characters (e.g. &#8216;/&#8217;, &#8216; &#8216;, or &#8216;@&#8217;) be escaped (%xx).&lt;/p&gt;

&lt;p&gt;So in a compliant driver, you&apos;d want to do something like: mongodb://abc:abcserver%23%40!@10.1.141.25:27017/JCDATA?maxPoolSize=60&lt;/p&gt;

&lt;p&gt;In this case that won&apos;t be enough, because the legacy driver unfortunately doesn&apos;t honor the url specification.  If you&apos;re in a position to use C++11 you could consider using the &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;C++11 Driver&lt;/a&gt;, which does handle encoded uris.  Or if you&apos;re stuck with the legacy driver, you can make explicit calls to &lt;a href=&quot;http://api.mongodb.org/cxx/current/classmongo_1_1_d_b_client_with_commands.html#aef21a401b2151f3f35c77c0b9c7e00d0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;auth&lt;/a&gt;, rather than relying on the uri.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Jason&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="267926">CXX-853</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|hrdszb:</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>