Correct encoding of ZoneIDs in URIs, as per RFC 6874
authorDavid Antler <david.a.antler@intel.com>
Sun, 17 Jul 2016 01:03:16 +0000 (18:03 -0700)
committerJon A. Cruz <jon@joncruz.org>
Tue, 19 Jul 2016 22:18:32 +0000 (22:18 +0000)
commit7d20dc1a40f75b39369f857684212eb907f9d75b
treed456ba0f6def26693218886c6b442dca1e871b38
parentc3ee0f08084532862662b0475eeff06dd3278ce9
Correct encoding of ZoneIDs in URIs, as per RFC 6874

IoTivity already included the ZoneID in the URI when the
IPv6 socket address included that information, but failed
to properly encode the percent sign.

Change-Id: I3e1c5b0a267236b1187303430d1dd4f115d1332a
Signed-off-by: David Antler <david.a.antler@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9419
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
resource/csdk/stack/include/internal/ocstackinternal.h
resource/csdk/stack/src/ocstack.c
resource/csdk/stack/test/stacktests.cpp