Commit 1d84a7ba authored by Committed by David Woodhouse
Make buf_append_urlencoded() percent-encode fewer characters.
Per RFC 3986, the characters '-', '_', '.', '~' don't need to be percent-encoded anywhere in a URL or query string. Removed special case for ' ' → '+' to prevent incompatibility with ocserv: http://lists.infradead.org/pipermail/openconnect-devel/2016-October/004042.html /* else if (c==' ') buf_append_bytes(buf, "+", 1); */ Signed-off-by: Dan Lenski <firstname.lastname@example.org> Signed-off-by: David Woodhouse <email@example.com>
Showing with 1 addition and 1 deletion