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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user