[VTN-21] Query parameters should be eliminated from the Location header. Created: 21/May/14 Updated: 03/May/18 Resolved: 21/May/14 |
|
| Status: | Resolved |
| Project: | vtn |
| Component/s: | VTN Manager |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Shigeru Yasuda | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 1058 |
| Description |
|
Some REST APIs of the VTN Manager copy the request URI into the Location For example, if a REST client sends a request to create a VTN with query parameters: http://127.0.0.1:8080/controller/nb/v2/vtn/default/vtns/vtn_1?param1=10¶m2=20 then the VTN Manager returns the request URI, including query parameters, HTTP/1.1 201 Created The absolute URI in the Location header represents the location of a newly HTTP/1.1 201 Created |
| Comments |
| Comment by Shigeru Yasuda [ 21/May/14 ] |
|
I pushed a patch that resolves this problem. |
| Comment by Shigeru Yasuda [ 21/May/14 ] |
|
This patch was cherry-picked to stable/hydrogen branch. |
| Comment by Shigeru Yasuda [ 21/May/14 ] |
|
This patch was merged to both master and stable/hydrogen. |