Skip to content

ntlm_auth: add support for key-value format for replies

See the Squid wiki at: https://wiki.squid-cache.org/Features/AddonHelpers#Key.3DValue_pairs_.28kv-pairs.29_format

"The interface for all helpers has been extended to support arbitrary lists of key=value pairs, with the syntax key=value . Some keys have special meaning to Squid, as documented here. All messages from squid are URL-escaped (the rfc1738_unescape from rfc1738.h can be used to decode them. For responses, the safe way is to either URL-escape, or to enclose the value in double_quotes ("); any double-quotes or backslashes () in the value need to be prefixed by a backslash, \r and \n are replaced respectively by CR and LF"

Thanks for Pavel for the original patch.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10959

Signed-off-by: Bjoern Jacke bjacke@samba.org

Merge request reports