Sandesh HTTP request for Snh_ShowRouteReq with Routing Instance name having special characters causes truncated UrlQuery
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack |
New
|
Medium
|
Santosh Gupta | |||
OpenContrail | ||||||
Trunk |
New
|
Medium
|
Santosh Gupta |
Bug Description
When a Sandesh HTTP request for a particular routing table was given
(Snh_ShowRouteR
it did not return any valid response even though prefixes were present in the routing table.
Note that this happens only in cases where the routing instance name consists of special characters.
On debugging this, I noticed that the callback from the HTTP server for the HTTP client Sandesh request has the UrlQuery incorrect
$106 = {method_ = HTTP_GET, url_ = "/Snh_ShowRoute
From the above request, it can be seen that the routing-instance name is cut short at the point where special characters begin.
This was noticed as a side effect in Bug#1759933
https:/
Thanks
Mahesh
affects: | opencontrail → juniperopenstack |