As per RFC 6874, the zone id of the ipv6 address
in a URI should be preceded by %25 and not just %.
Make this change while creating the ipv6 endpoint
payload.
Change-Id: I2e3ec53b16212d374c7ab2ecf6bfd5700c4e62ce
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
{
assert(zoneId != NULL);
// put zoneId to end of addr
- OICStrcat(eps->addr, OC_MAX_ADDR_STR_SIZE, "%");
+ OICStrcat(eps->addr, OC_MAX_ADDR_STR_SIZE, "%25");
OICStrcat(eps->addr, OC_MAX_ADDR_STR_SIZE, zoneId);
OICFree(zoneId);
}