<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:47:47 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>[VTN-21] Query parameters should be eliminated from the Location header.</title>
                <link>https://jira.opendaylight.org/browse/VTN-21</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;Some REST APIs of the VTN Manager copy the request URI into the Location&lt;br/&gt;
response-header. If the request URI has query parameters, they are also copied&lt;br/&gt;
into the Location header.&lt;/p&gt;

&lt;p&gt;For example, if a REST client sends a request to create a VTN with query parameters:&lt;/p&gt;

&lt;p&gt;  &lt;a href=&quot;http://127.0.0.1:8080/controller/nb/v2/vtn/default/vtns/vtn_1?param1=10&amp;amp;param2=20&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/controller/nb/v2/vtn/default/vtns/vtn_1?param1=10&amp;amp;param2=20&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;then the VTN Manager returns the request URI, including query parameters,&lt;br/&gt;
in the Location header.&lt;/p&gt;

&lt;p&gt;  HTTP/1.1 201 Created&lt;br/&gt;
  Location: &lt;a href=&quot;http://127.0.0.1:8080/controller/nb/v2/vtn/default/vtns/vtn_1?param1=10&amp;amp;param2=20&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/controller/nb/v2/vtn/default/vtns/vtn_1?param1=10&amp;amp;param2=20&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The absolute URI in the Location header represents the location of a newly&lt;br/&gt;
created resource. So query parameters sent by a client should be eliminated&lt;br/&gt;
from the Location header like this:&lt;/p&gt;

&lt;p&gt;  HTTP/1.1 201 Created&lt;br/&gt;
  Location: &lt;a href=&quot;http://127.0.0.1:8080/controller/nb/v2/vtn/default/vtns/vtn_1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/controller/nb/v2/vtn/default/vtns/vtn_1&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="26401">VTN-21</key>
            <summary>Query parameters should be eliminated from the Location header.</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="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="yasuda">Shigeru Yasuda</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 May 2014 05:13:30 +0000</created>
                <updated>Thu, 3 May 2018 15:45:11 +0000</updated>
                            <resolved>Wed, 21 May 2014 07:30:30 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>VTN Manager</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="52817" author="yasuda" created="Wed, 21 May 2014 05:49:36 +0000"  >&lt;p&gt;I pushed a patch that resolves this problem.&lt;/p&gt;

&lt;p&gt;  &lt;a href=&quot;https://git.opendaylight.org/gerrit/7286&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/7286&lt;/a&gt; (master)&lt;/p&gt;</comment>
                            <comment id="52818" author="yasuda" created="Wed, 21 May 2014 06:51:16 +0000"  >&lt;p&gt;This patch was cherry-picked to stable/hydrogen branch.&lt;/p&gt;

&lt;p&gt;  &lt;a href=&quot;https://git.opendaylight.org/gerrit/7287&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/7287&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52819" author="yasuda" created="Wed, 21 May 2014 07:30:30 +0000"  >&lt;p&gt;This patch was merged to both master and stable/hydrogen.&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>1058</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=1058]]></customfieldvalue>

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

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