1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00

Use uppercase hex digits in percent encoding. Fixes #2281

This commit is contained in:
nnposter
2021-05-17 21:31:32 +00:00
parent 169dc44b73
commit 67a04de96a
2 changed files with 5 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ local function make_set(t)
end
local function hex_esc (c)
return string.format("%%%02x", string.byte(c))
return string.format("%%%02X", string.byte(c))
end
-- these are allowed within a path segment, along with alphanum