From 461b1f57cfe4bdec31532df6d9ddc1b9a327f31a Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Tue, 19 Feb 2013 12:57:27 +0100 Subject: [PATCH] minor cosmetic change --- lib/HTTPServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/HTTPServer.pm b/lib/HTTPServer.pm index 862320f..340b0b8 100644 --- a/lib/HTTPServer.pm +++ b/lib/HTTPServer.pm @@ -85,7 +85,7 @@ sub handle_request { $target =~ s/\.\.\///; $target =~ s/^\///; $target =~ s/\/$//; - last unless $cur ne length $target; + last unless $cur ne length($target); } $target = $target_cgi = "/$target";