Dear List!
When using ns_urlencode, I've noticed, that the "@" sign will not be
percent encoded, unless "-part oauth1" is stated:
ns_urlencode [email protected]
[email protected]
ns_urlencode -part oauth1 [email protected]
test%40test.com
What is the correct way to encode URL params, e.g. in
http://test.com/register/[email protected]
In Javascript (Chrome + Firefox)
encodeURIComponent("[email protected]");
yields
"test%40test.com"
This is should be the RFC for this topic:
https://datatracker.ietf.org/doc/html/rfc3986#section-2.3
<https://datatracker.ietf.org/doc/html/rfc3986#section-2.3>
Yours,
Wolfgang
--
*Wolfgang Winkler*
Geschäftsführung
[email protected]
mobil +43.699.19971172
dc:*büro*
digital concepts Novak Winkler OG
Software & Design
Landstraße 68, 5. Stock, 4020 Linz
www.digital-concepts.com <http://www.digital-concepts.com>
tel +43.732.997117.72
tel +43.699.1997117.2
Firmenbuchnummer: 192003h
Firmenbuchgericht: Landesgericht Linz
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel