[PATCH 2/3] Make buf_append_urlencoded() percent-encode fewer characters.

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Sun Oct 16 06:30:40 PDT 2016


On Fri, 2016-10-14 at 18:46 -0700, Daniel Lenski wrote:
> Per RFC 3986, the characters '-', '_', '.', '~' don't need to be
> percent-encoded anywhere in a URL or query string.  And ' ' can
> simply be
> replaced with '+' rather than "%20".

That would break communication with ocserv. As it is now, ocserv
parsing code is the reverse of what openconnect emits rather than a
full rfc3986 parser.

regards,
Nikos




More information about the openconnect-devel mailing list