<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:42:37 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>[CSHARP-2459] Do not output port in ToString() for &apos;+srv&apos; urls</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2459</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Reproduction steps:&lt;/p&gt;

&lt;p&gt;1) Create a MongoUrl or use the MongoUrlBuilder&lt;/p&gt;

&lt;p&gt;2) take that url and get the string version of it with ToString() or any way of getting the raw connection string&lt;/p&gt;

&lt;p&gt;Actual: outputs a port in the connection string&lt;/p&gt;

&lt;p&gt;Expected: no port should exist in the connection string&lt;/p&gt;

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

&lt;p&gt;This mainly causes issues when parsing the connection string because there is validation to prevent ports when +srv is specified&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="659260">CSHARP-2459</key>
            <summary>Do not output port in ToString() for &apos;+srv&apos; urls</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="Gekctek">Ethan [X]</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Dec 2018 21:51:54 +0000</created>
                <updated>Sat, 28 Oct 2023 11:48:51 +0000</updated>
                            <resolved>Thu, 31 Jan 2019 20:19:07 +0000</resolved>
                                                    <fixVersion>2.8.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2133913" author="xgen-internal-githook" created="Thu, 31 Jan 2019 20:18:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;rstam&apos;, &apos;email&apos;: &apos;robert@robertstam.org&apos;, &apos;username&apos;: &apos;rstam&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2459&quot; title=&quot;Do not output port in ToString() for &amp;#39;+srv&amp;#39; urls&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2459&quot;&gt;&lt;del&gt;CSHARP-2459&lt;/del&gt;&lt;/a&gt;: Handle ssl option correctly also when mongodb+srv is used.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/c82584e82a5ad419a937b1d2305b861dfb8dbf10&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/c82584e82a5ad419a937b1d2305b861dfb8dbf10&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2133912" author="xgen-internal-githook" created="Thu, 31 Jan 2019 20:18:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;rstam&apos;, &apos;email&apos;: &apos;robert@robertstam.org&apos;, &apos;username&apos;: &apos;rstam&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2459&quot; title=&quot;Do not output port in ToString() for &amp;#39;+srv&amp;#39; urls&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2459&quot;&gt;&lt;del&gt;CSHARP-2459&lt;/del&gt;&lt;/a&gt;: Fix whitespace in MongoUrlBuilderTests.cs.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/0f292c2d6e4497b52f77cf2aa320f91b1193c74f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/0f292c2d6e4497b52f77cf2aa320f91b1193c74f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2133911" author="xgen-internal-githook" created="Thu, 31 Jan 2019 20:18:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ethan Celletti&apos;, &apos;email&apos;: &apos;ECelletti@SciSolutions.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2459&quot; title=&quot;Do not output port in ToString() for &amp;#39;+srv&amp;#39; urls&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2459&quot;&gt;&lt;del&gt;CSHARP-2459&lt;/del&gt;&lt;/a&gt;: Adding unit test&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/d9d587effa7312127604bb40770a4acda33d468b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/d9d587effa7312127604bb40770a4acda33d468b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2133910" author="xgen-internal-githook" created="Thu, 31 Jan 2019 20:18:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ethan Celletti&apos;, &apos;email&apos;: &apos;Gekctek@Gmail.com&apos;, &apos;username&apos;: &apos;Gekctek&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2459&quot; title=&quot;Do not output port in ToString() for &amp;#39;+srv&amp;#39; urls&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2459&quot;&gt;&lt;del&gt;CSHARP-2459&lt;/del&gt;&lt;/a&gt;: Not outputting port to &apos;+srv&apos; urls&lt;/p&gt;

&lt;p&gt;Having an issue with turning a mongourl to as string then re-parsing it. There is validation on parsing that the port cant be defined with &apos;+srv&apos; but the ToString() outputs the port&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/75a0e6bcb3313a3431fc2f39d9eda38431560f48&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/75a0e6bcb3313a3431fc2f39d9eda38431560f48&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2097790" author="gekctek" created="Thu, 20 Dec 2018 21:52:28 +0000"  >&lt;p&gt;&#160;Github PR&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/pull/362&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/pull/362&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="698480">CSHARP-2524</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu77c7:</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>