<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:37:14 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>[SERVER-15194] Make the base64::decode function throw for invalid input characters</title>
                <link>https://jira.mongodb.org/browse/SERVER-15194</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;base64::decode uasserts for invalid input lengths but not for invalid input characters. Extend this with a check for invalid base64 input characters. &lt;/p&gt;</description>
                <environment></environment>
        <key id="157270">SERVER-15194</key>
            <summary>Make the base64::decode function throw for invalid input characters</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="9">Done</resolution>
                                        <assignee username="sara.golemon@mongodb.com">Sara Golemon</assignee>
                                    <reporter username="andreas.nilsson">Andreas Nilsson</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Tue, 9 Sep 2014 21:25:57 +0000</created>
                <updated>Wed, 6 Dec 2017 21:13:11 +0000</updated>
                            <resolved>Thu, 6 Jul 2017 20:40:58 +0000</resolved>
                                    <version>2.7.6</version>
                                    <fixVersion>3.5.10</fixVersion>
                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1616372" author="xgen-internal-githook" created="Fri, 7 Jul 2017 15:42:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;sgolemon&apos;, u&apos;name&apos;: u&apos;Sara Golemon&apos;, u&apos;email&apos;: u&apos;sara.golemon@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-15194&quot; title=&quot;Make the base64::decode function throw for invalid input characters&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-15194&quot;&gt;&lt;del&gt;SERVER-15194&lt;/del&gt;&lt;/a&gt; Refactor base64::decode Implementation&lt;/p&gt;

&lt;p&gt;Unrevert 4b222edf455a34667cfaf7b67e7f8dfdca42bd9c and&lt;br/&gt;
Fix random base64 generation in test helper&lt;/p&gt;

&lt;p&gt;The good news is that the changes to base64::decode()&lt;br/&gt;
did exactly what they were intended to do.&lt;br/&gt;
The bad news is that data_generators.js was producing&lt;br/&gt;
invalid base64 sequences when (length % 4) == 1.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3ee00dd0e8f36c6223524012e925055e94b05080&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3ee00dd0e8f36c6223524012e925055e94b05080&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1615969" author="xgen-internal-githook" created="Fri, 7 Jul 2017 05:07:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ncm&apos;, u&apos;name&apos;: u&apos;Nathan Myers&apos;, u&apos;email&apos;: u&apos;ncm@cantrip.org&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-15194&quot; title=&quot;Make the base64::decode function throw for invalid input characters&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-15194&quot;&gt;&lt;del&gt;SERVER-15194&lt;/del&gt;&lt;/a&gt; Refactor base64::decode Implementation&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 4b222edf455a34667cfaf7b67e7f8dfdca42bd9c.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f2b3f835300b7bfff370ad92b61f08bf285f79b1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f2b3f835300b7bfff370ad92b61f08bf285f79b1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1615642" author="sara.golemon" created="Thu, 6 Jul 2017 20:40:58 +0000"  >&lt;p&gt;base64::decode() will now throw an exception on bad input whereas before it would quietly accept the bad input and produce garbage output.&lt;/p&gt;</comment>
                            <comment id="1615638" author="xgen-internal-githook" created="Thu, 6 Jul 2017 20:37:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;sgolemon&apos;, u&apos;name&apos;: u&apos;Sara Golemon&apos;, u&apos;email&apos;: u&apos;sara.golemon@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-15194&quot; title=&quot;Make the base64::decode function throw for invalid input characters&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-15194&quot;&gt;&lt;del&gt;SERVER-15194&lt;/del&gt;&lt;/a&gt; Refactor base64::decode Implementation&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Existing check for length as multiple of 4 as-is&lt;/li&gt;
	&lt;li&gt;Added check for non-base64 characters on input&lt;/li&gt;
	&lt;li&gt;Added check for terminators (&apos;=&apos;) midstream&lt;br/&gt;
  Implicitly in positions 0 and 1 via non-base64 check&lt;br/&gt;
  Explicitly in positions 2 and 3 via &quot;done&quot; check.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Moved &quot;Alphabet&quot; class into cpp file in anon namespace&lt;br/&gt;
as it&apos;s an implementation detail and shouldn&apos;t be used&lt;br/&gt;
by outside classes.&lt;/p&gt;

&lt;p&gt;Added base64::validate() method to accomodate BSON&apos;s&lt;br/&gt;
isBase64String() check.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4b222edf455a34667cfaf7b67e7f8dfdca42bd9c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4b222edf455a34667cfaf7b67e7f8dfdca42bd9c&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000XMgMUIA1]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 6 Jul 2017 20:37:45 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 31 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/BF-5874'>BF-5874</a></s>]]></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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 31 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andreas.nilsson</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>sara.golemon@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlobj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrah8f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>136821</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsgnzr:</customfieldvalue>

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