[IOT-1513] Incorrect URI construction
The % character is not legal to be placed literally in a URI, it must be escaped (as "%25") before being enclosed in a URI. Other places were changed in July in change 9419, and some more in change 14009, but these code paths were not changed at that time. This also fixes a bug in setHost which did not mark an IPv6 address as IPv6, and adds a test case that covers this. Change-Id: I1331ecb9c5482a2d43dd675978a1f34c6d37cb4c Signed-off-by:Dave Thaler <dthaler@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/14263Reviewed-by:
jihwan seo <jihwan.seo@samsung.com> Tested-by:
jenkins-iotivity <jenkins-iotivity@opendaylight.org> Reviewed-by:
Ashwini Kumar <k.ashwini@samsung.com> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
Showing
Please register or sign in to comment