<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55: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>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[CONTROLLER-1341] Adding a trailing slash to certain RestConf URLs results in HTTP 400 Bad Request</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1341</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;The working scenario is first detailed below:&lt;/p&gt;

&lt;p&gt;URL -&amp;gt; &lt;a href=&quot;http://localhost:8181/restconf/operations/toaster:make-toast&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/operations/toaster:make-toast&lt;/a&gt;&lt;br/&gt;
Headers -&amp;gt; Content-type: application/xml&lt;br/&gt;
Body -&amp;gt;&lt;br/&gt;
&amp;lt;input xmlns=&quot;http://netconfcentral.org/ns/toaster&quot;&amp;gt;&lt;br/&gt;
     &amp;lt;toasterDoneness&amp;gt;1&amp;lt;/toasterDoneness&amp;gt;&lt;br/&gt;
     &amp;lt;toasterToastType&amp;gt;wheat-bread&amp;lt;/toasterToastType&amp;gt;&lt;br/&gt;
&amp;lt;/input&amp;gt;&lt;/p&gt;

&lt;p&gt;This results in HTTP 204, success.&lt;/p&gt;

&lt;p&gt;However, if you add a trailing slash to the URL it does not:&lt;br/&gt;
URL -&amp;gt; &lt;a href=&quot;http://localhost:8181/restconf/operations/toaster:make-toast/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/operations/toaster:make-toast/&lt;/a&gt;&lt;br/&gt;
Headers -&amp;gt; Content-type: application/xml&lt;br/&gt;
Body -&amp;gt;&lt;br/&gt;
&amp;lt;input xmlns=&quot;http://netconfcentral.org/ns/toaster&quot;&amp;gt;&lt;br/&gt;
     &amp;lt;toasterDoneness&amp;gt;1&amp;lt;/toasterDoneness&amp;gt;&lt;br/&gt;
     &amp;lt;toasterToastType&amp;gt;wheat-bread&amp;lt;/toasterToastType&amp;gt;&lt;br/&gt;
&amp;lt;/input&amp;gt;&lt;/p&gt;

&lt;p&gt;This results in HTTP 400, Bad Request.  The trailing slash should not result in HTTP 400.  This is fixed in stable/lithium, but is a bug in stable/helium.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25895">CONTROLLER-1341</key>
            <summary>Adding a trailing slash to certain RestConf URLs results in HTTP 400 Bad Request</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10001">Won&apos;t Do</resolution>
                                        <assignee username="jhajnar@cisco.com">Jan Hajnar</assignee>
                                    <reporter username="rgoulding">Ryan Goulding</reporter>
                        <labels>
                    </labels>
                <created>Wed, 27 May 2015 18:24:06 +0000</created>
                <updated>Fri, 21 Aug 2015 19:59:19 +0000</updated>
                            <resolved>Fri, 21 Aug 2015 19:59:19 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="50735" author="jhajnar@cisco.com" created="Fri, 26 Jun 2015 13:59:02 +0000"  >&lt;p&gt;patch:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/23427/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/23427/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="50736" author="colin@colindixon.com" created="Wed, 19 Aug 2015 21:50:05 +0000"  >&lt;p&gt;This missed Helium. Is it also present in Lithium? Beryllium?&lt;/p&gt;</comment>
                            <comment id="50737" author="jhajnar@cisco.com" created="Thu, 20 Aug 2015 12:15:35 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;This patch was for helium only. This issue is fixed in lithium/beryllium.&lt;/p&gt;

&lt;p&gt;Jan.&lt;/p&gt;</comment>
                            <comment id="50738" author="colin@colindixon.com" created="Fri, 21 Aug 2015 19:58:36 +0000"  >&lt;p&gt;This issue is already resolved in Lithium and beyond and as there are no more planned releases of Helium, there is no plan to fix it in Helium.&lt;/p&gt;</comment>
                            <comment id="50739" author="colin@colindixon.com" created="Fri, 21 Aug 2015 19:59:19 +0000"  >&lt;p&gt;I closed it as wontfix, but it seems like something that might not be a bad thing to merge to stable/helium since it takes no real effort even thought it might not get shipped.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3395</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=3395]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10350"><![CDATA[Helium-4]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02pz3:</customfieldvalue>

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