Re: [naviserver-devel] percent-encoded characters in URL

2021-08-25 Thread Gustaf Neumann
On 25.08.21 11:07, Wolfgang Winkler wrote: Thank you for your answer. I've missed the corresponding RFC 3986 part you quoted. We have a client who, for some reason, got an error, when the @ sign of emails in the query section was not escaped. It has been solved on his side, but I was not sure

Re: [naviserver-devel] percent-encoded characters in URL

2021-08-25 Thread Gustaf Neumann
Dear Wolfgang, according to RFC 3986, the at-sign should not be encoded, neither in the path segments, nor in the query components. For querycomponents the right parameter for ns_urlencode is ns_urlencode -part query a@b The full query parameter pair should be encoded with set pa

[naviserver-devel] percent-encoded characters in URL

2021-08-24 Thread Wolfgang Winkler via naviserver-devel
Dear List! When using ns_urlencode, I've noticed, that the "@" sign will not be percent encoded, unless "-part oauth1" is stated: ns_urlencode t...@test.com t...@test.com ns_urlencode -part oauth1 t...@test.com test%40test.com What is the correct way to encode URL params, e.g. in http://tes