<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:14:18 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-2141] Do not allow appname URI option to be set by mongoc_uri_set_option_as_utf8()</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2141</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Since &lt;tt&gt;mongoc_uri_option_is_utf8()&lt;/tt&gt; returns &lt;tt&gt;true&lt;/tt&gt; for &quot;appname&quot;, a value may be assigned through &lt;tt&gt;mongoc_uri_set_option_as_utf8()&lt;/tt&gt;, which will bypass the length validation done in &lt;tt&gt;mongoc_uri_set_appname()&lt;/tt&gt;. This seems like an edge case that should be closed.&lt;/p&gt;

&lt;p&gt;I&apos;m not sure if this poses a BC break, since previous versions of libmongoc (1.5 and 1.6) would default to return &lt;tt&gt;true&lt;/tt&gt; from &lt;tt&gt;mongoc_uri_option_is_utf8()&lt;/tt&gt; unless the option was a boolean, integer, or appeared in a blacklist. For 1.7, the function was changed to use a whitelist of known options, which included &quot;appname&quot; (&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/16d03dc58f598c1671d20d658681c0d871f96514&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;16d03dc&lt;/a&gt;).&lt;/p&gt;</description>
                <environment></environment>
        <key id="377069">CDRIVER-2141</key>
            <summary>Do not allow appname URI option to be set by mongoc_uri_set_option_as_utf8()</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="bjori">Hannes Magnusson</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Apr 2017 19:39:14 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:43 +0000</updated>
                            <resolved>Mon, 24 Apr 2017 21:49:02 +0000</resolved>
                                    <version>1.5.0</version>
                    <version>1.6.0</version>
                                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1557735" author="xgen-internal-githook" created="Tue, 25 Apr 2017 20:48:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;hannes.magnusson@gmail.com&apos;}
&lt;p&gt;Message: Merge pull request #435 from jmikola/cdriver-2142&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2141&quot; title=&quot;Do not allow appname URI option to be set by mongoc_uri_set_option_as_utf8()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2141&quot;&gt;&lt;del&gt;CDRIVER-2141&lt;/del&gt;&lt;/a&gt;: Set error if authSource is invalid GSSAPI and X509&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/ea6d8eea992fc0209a97377f02138ffc85dce585&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/ea6d8eea992fc0209a97377f02138ffc85dce585&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1557734" author="xgen-internal-githook" created="Tue, 25 Apr 2017 20:48:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jmikola&apos;, u&apos;name&apos;: u&apos;Jeremy Mikola&apos;, u&apos;email&apos;: u&apos;jmikola@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2141&quot; title=&quot;Do not allow appname URI option to be set by mongoc_uri_set_option_as_utf8()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2141&quot;&gt;&lt;del&gt;CDRIVER-2141&lt;/del&gt;&lt;/a&gt;: Set error if authSource is invalid GSSAPI and X509&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5beb35b31f630d1c23b6127e5df8d4fb65fa135f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5beb35b31f630d1c23b6127e5df8d4fb65fa135f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1556792" author="xgen-internal-githook" created="Mon, 24 Apr 2017 21:45:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2141&quot; title=&quot;Do not allow appname URI option to be set by mongoc_uri_set_option_as_utf8()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2141&quot;&gt;&lt;del&gt;CDRIVER-2141&lt;/del&gt;&lt;/a&gt; Fix appname set through mongoc_uri_set_option_as_utf8&lt;/p&gt;

&lt;p&gt;Validation logic for appname isn&apos;t enforced when setting through _as_utf8&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/baaf3dff5d8fc55dcc3483072e92d9f66fd94a9c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/baaf3dff5d8fc55dcc3483072e92d9f66fd94a9c&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="301554">CDRIVER-1388</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="301582">CDRIVER-1392</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|hsykw7:</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>