may be able to figure out how to do
that. :)
> *From:* Gregg Reynolds [mailto:d...@mobileink.com]
> *Sent:* Thursday, January 25, 2018 2:55 PM
> *To:* Dave Thaler
> *Cc:* kishen.mal...@intel.com; veeraj...@samsung.com; iotivity-dev <
> iotivity-dev@lists.iotivity.org>
&g
...@intel.com; veeraj...@samsung.com; iotivity-dev
Subject: Re: [dev] percent encoding IPv6 endpoints
On Thu, Jan 25, 2018 at 4:48 PM, Dave Thaler
mailto:dtha...@microsoft.com>> wrote:
Ok, after groveling through a bunch of code to refresh my memory, eps->addr
should be an IP literal stri
On Thu, Jan 25, 2018 at 4:48 PM, Dave Thaler wrote:
> Ok, after groveling through a bunch of code to refresh my memory,
> eps->addr should be an IP literal string, not a URL authority component
> string.
>
> So yes it is a bug and the “%25” should be “%” in
> OCMapZoneIdToLinkLocalEndpoint.
>
Al
id not fix correctly.
From: Dave Thaler
Sent: Thursday, January 25, 2018 1:37 PM
To: 'Gregg Reynolds'
Cc: 'iotivity-dev'
Subject: RE: [dev] percent encoding IPv6 endpoints
Ok I read this thread through again and checked the code and now I understand
your point.
You’re sayin
On Thu, Jan 25, 2018 at 3:37 PM, Dave Thaler wrote:
> Ok I read this thread through again and checked the code and now I
> understand your point.
>
> You’re saying that
>
> OICStrcat(eps->addr, OC_MAX_ADDR_STR_SIZE, "%25");
>
> should be
>
> OICStrcat(eps->addr, OC_MAX_ADDR_STR_SIZE, "%");
>
> in
looking to refresh my memory about which one it’s supposed to be in
the code.
Dave
From: Dave Thaler
Sent: Thursday, January 25, 2018 1:18 PM
To: 'Gregg Reynolds'
Cc: iotivity-dev
Subject: RE: [dev] percent encoding IPv6 endpoints
From: Gregg Reynolds [mailto:d...@mobileink.com]
Se
On Jan 25, 2018 3:11 PM, "Dave Thaler" wrote:
...
So, I get a response to a discovery request. I use one of the eps to
construct a request. This fails, because the EP is percent-encoding. This
is technically wrong, because percent-encoding only applies to literal ipv6
addresses *within* a URL. Th
From: Gregg Reynolds [mailto:d...@mobileink.com]
Sent: Thursday, January 25, 2018 12:39 PM
To: Dave Thaler
Cc: iotivity-dev
Subject: RE: [dev] percent encoding IPv6 endpoints
Further info:
This is a literal ipv6 adsress:
FEDC:BA98:7654:3210:FEDC:BA98:7654:3210
Same embedded *within* a URL
From: Gregg Reynolds [mailto:d...@mobileink.com]
Sent: Thursday, January 25, 2018 12:27 PM
To: Dave Thaler
Cc: iotivity-dev
Subject: RE: [dev] percent encoding IPv6 endpoints
Hi Dave,
Thanks for taking the time to respond. Comments/questions below.
On Jan 22, 2018 3:51 PM, "Dave T
Further info:
This is a literal ipv6 adsress:
FEDC:BA98:7654:3210:FEDC:BA98:7654:3210
Same embedded *within* a URL:
http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html
If you add zone to the literal, you use %. Add it to the URL and you
must use %25. No?
Anyway the point is that
Hi Dave,
Thanks for taking the time to respond. Comments/questions below.
On Jan 22, 2018 3:51 PM, "Dave Thaler" wrote:
Below
*From:* iotivity-dev-boun...@lists.iotivity.org [mailto:
iotivity-dev-boun...@lists.iotivity.org] *On Behalf Of *Gregg Reynolds
*Sent:* Monday, January 22, 2018 11:3
Below
From: iotivity-dev-boun...@lists.iotivity.org
[mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Gregg Reynolds
Sent: Monday, January 22, 2018 11:37 AM
To: iotivity-dev
Subject: [dev] percent encoding IPv6 endpoints
OCMapZoneIdToLinkLocalEndpoint (in ocstack.c) percent-encodes
12 matches
Mail list logo