mirror of
https://github.com/nmap/nmap.git
synced 2025-12-20 22:49:01 +00:00
Whitespace.
This commit is contained in:
@@ -340,7 +340,7 @@ resource = url_decode(resource)
|
|||||||
|
|
||||||
--make sure that the resource starts with a slash.
|
--make sure that the resource starts with a slash.
|
||||||
if resource:sub(0, 1) ~= '/' then
|
if resource:sub(0, 1) ~= '/' then
|
||||||
do_400() --could probably use a fancier error here.
|
do_400() --could probably use a fancier error here.
|
||||||
end
|
end
|
||||||
|
|
||||||
if not is_path_valid(resource) then
|
if not is_path_valid(resource) then
|
||||||
|
|||||||
Reference in New Issue
Block a user