]> git.ipfire.org Git - thirdparty/rspamd.git/commit
icap.lua: ipv6 pseudo hostname in GET request 5532/head
authorStephan Toggweiler <609601+rheoli@users.noreply.github.com>
Thu, 26 Jun 2025 13:07:12 +0000 (15:07 +0200)
committerGitHub <noreply@github.com>
Thu, 26 Jun 2025 13:07:12 +0000 (15:07 +0200)
commit578c01cc2a76cd455023d363478e7d40cb613743
tree11d7edda9efbd11d6618f54095012472d385927b
parent52397aa143bcec2797a6a653632003ebdb476d4f
icap.lua: ipv6 pseudo hostname in GET request

ipv6 addresses need to be changed to a pseudo hostname in GET request who is encapsulated in ICAP.
A change to [::] did not work in SkyHigh Web Gateway (aka McAfee)

Didn't use Lua often maybe the code can be optimized.
lualib/lua_scanners/icap.lua