]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix userinfo percent-encoding (#1367)
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 25 May 2023 02:10:28 +0000 (02:10 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Mon, 23 Oct 2023 04:20:41 +0000 (17:20 +1300)
commitc67bf049871a49e9871efe50b230a7f37b7039f6
tree79f223019fec4be7197fee09283a9c12107e2032
parent792ef23e6e1c05780fe17f733859eef6eb8c8be3
Fix userinfo percent-encoding (#1367)

%X expects an unsigned int, and that is what we were giving it. However,
to get to the correct unsigned int value from a (signed) char, one has
to cast to an unsigned char (or equivalent) first.

Broken since inception in commit 7b75100.

Also adjusted similar (commented out) ext_edirectory_userip_acl code.
src/acl/external/eDirectory_userip/ext_edirectory_userip_acl.cc
src/anyp/Uri.cc