<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:31:16 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>[COMPASS-2844] Password special character escaping for SRV record connections not as robust as hostname connections</title>
                <link>https://jira.mongodb.org/browse/COMPASS-2844</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;Using a special character, such as `&amp;lt;`, causes an error with SRV record connection attempts, but not with hostname connection attempts.&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Password contains an illegal unescaped character&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;The password given in the screenshot is: &lt;tt&gt;a&amp;lt;b&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;The same password given with a hostname record correctly gives authentication failed.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Acceptance Criteria:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Compass connections using SRV records properly escape special characters in the password.&lt;/li&gt;
	&lt;li&gt;Compass connections using SRV records properly escape special characters in the username.&lt;/li&gt;
	&lt;li&gt;Supported special characters include: &quot;@&quot;, &quot;/&quot;, &quot;\&quot;, &quot;?&quot;, &quot;#&quot;, &quot;+&quot;, &quot;_&quot;, &quot;!&quot;, &quot;-&quot;, &quot;&apos;&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="542052">COMPASS-2844</key>
            <summary>Password special character escaping for SRV record connections not as robust as hostname connections</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="13201">Fixed</resolution>
                                        <assignee username="durran.jordan@mongodb.com">Durran Jordan</assignee>
                                    <reporter username="brian.blevins@mongodb.com">Brian Blevins</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 May 2018 13:40:26 +0000</created>
                <updated>Sun, 29 Oct 2023 02:41:30 +0000</updated>
                            <resolved>Tue, 27 Nov 2018 20:08:20 +0000</resolved>
                                    <version>1.13.0</version>
                                    <fixVersion>1.16.2</fixVersion>
                    <fixVersion>1.16.3</fixVersion>
                                    <component>Connectivity</component>
                        <due></due>
                            <votes>3</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="2091990" author="jaraco" created="Sun, 16 Dec 2018 20:34:36 +0000"  >&lt;p&gt;Confirmed this does fix the issue for me. Thanks!&lt;/p&gt;</comment>
                            <comment id="2073293" author="xgen-internal-githook" created="Tue, 27 Nov 2018 20:21:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Durran Jordan&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;, &apos;username&apos;: &apos;durran&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-2844&quot; title=&quot;Password special character escaping for SRV record connections not as robust as hostname connections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-2844&quot;&gt;&lt;del&gt;COMPASS-2844&lt;/del&gt;&lt;/a&gt;: Don&apos;t validate URI twice&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/compass/commit/5cec32d64756c743caf13c966de948a3649b5640&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/compass/commit/5cec32d64756c743caf13c966de948a3649b5640&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2073263" author="xgen-internal-githook" created="Tue, 27 Nov 2018 20:08:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Durran Jordan&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;, &apos;username&apos;: &apos;durran&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-2844&quot; title=&quot;Password special character escaping for SRV record connections not as robust as hostname connections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-2844&quot;&gt;&lt;del&gt;COMPASS-2844&lt;/del&gt;&lt;/a&gt;: Don&apos;t validate URI twice&lt;br/&gt;
Branch: 1.16-releases&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/compass/commit/b66fb9a36020beb3e4877d6c43e8d82aee83f53d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/compass/commit/b66fb9a36020beb3e4877d6c43e8d82aee83f53d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2073258" author="xgen-internal-githook" created="Tue, 27 Nov 2018 20:06:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Durran Jordan&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;, &apos;username&apos;: &apos;durran&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-2844&quot; title=&quot;Password special character escaping for SRV record connections not as robust as hostname connections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-2844&quot;&gt;&lt;del&gt;COMPASS-2844&lt;/del&gt;&lt;/a&gt;: Don&apos;t validate URI twice&lt;br/&gt;
Branch: 1.17-releases&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/compass/commit/206272f054caf8d0fd3f95e86948e1ebac987902&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/compass/commit/206272f054caf8d0fd3f95e86948e1ebac987902&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2073256" author="xgen-internal-githook" created="Tue, 27 Nov 2018 20:03:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Durran Jordan&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;, &apos;username&apos;: &apos;durran&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-2844&quot; title=&quot;Password special character escaping for SRV record connections not as robust as hostname connections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-2844&quot;&gt;&lt;del&gt;COMPASS-2844&lt;/del&gt;&lt;/a&gt;: Don&apos;t validate URI twice&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-2844&quot; title=&quot;Password special character escaping for SRV record connections not as robust as hostname connections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-2844&quot;&gt;&lt;del&gt;COMPASS-2844&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/compass/commit/475ee4f39a578389af28444f16a374d13303c995&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/compass/commit/475ee4f39a578389af28444f16a374d13303c995&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2073218" author="xgen-internal-githook" created="Tue, 27 Nov 2018 19:42:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Durran Jordan&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;, &apos;username&apos;: &apos;durran&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-2844&quot; title=&quot;Password special character escaping for SRV record connections not as robust as hostname connections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-2844&quot;&gt;&lt;del&gt;COMPASS-2844&lt;/del&gt;&lt;/a&gt;: Don&apos;t validate URI twice&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/data-service/commit/a4f93155fc13e907db8194724693c6d2dcb6e3b1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/data-service/commit/a4f93155fc13e907db8194724693c6d2dcb6e3b1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2073207" author="xgen-internal-githook" created="Tue, 27 Nov 2018 19:37:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Durran Jordan&apos;, &apos;email&apos;: &apos;durran@gmail.com&apos;, &apos;username&apos;: &apos;durran&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-2844&quot; title=&quot;Password special character escaping for SRV record connections not as robust as hostname connections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-2844&quot;&gt;&lt;del&gt;COMPASS-2844&lt;/del&gt;&lt;/a&gt;: Don&apos;t validate URI twice&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/connection-model/commit/3e971145950a46ae8b0e19a8af64a861a326b3d2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/connection-model/commit/3e971145950a46ae8b0e19a8af64a861a326b3d2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1949757" author="jaraco" created="Wed, 18 Jul 2018 01:41:00 +0000"  >&lt;p&gt;Workaround is to use the legacy form of replica set discovery (tell Atlas you&apos;re running Compass 1.11).&lt;/p&gt;</comment>
                            <comment id="1949756" author="jaraco" created="Wed, 18 Jul 2018 01:38:31 +0000"  >&lt;p&gt;Other &quot;illegal&quot; characters includes at least one of the following: _!&apos;-\&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="514628">COMPASS-2674</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="537093">COMPASS-2798</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000bT7AGIA0, 500A000000bTeYkIAK, 500A000000bwMH4IAM, 500A000000bwX0NIAU, 500A000000cGSZ4IAO, 5002K00000d82JpQAI]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 9 Jul 2018 19:45:54 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 8 weeks, 3 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 8 weeks, 3 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>brian.blevins@mongodb.com</customfieldvalue>
            <customfieldvalue>durran.jordan@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jaraco</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htxqo7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hty7l3:</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>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2529">Iteration Mango Miso</customfieldvalue>
    <customfieldvalue id="2530">Iteration Naan</customfieldvalue>
    <customfieldvalue id="2593">Iteration Octopus</customfieldvalue>
    <customfieldvalue id="2626">Iteration Paneer</customfieldvalue>
    <customfieldvalue id="2670">Iteration Qbert</customfieldvalue>
    <customfieldvalue id="2690">Iteration Sriracha</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htxcxj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>