diff --git a/lib/WebGUI/URL.pm b/lib/WebGUI/URL.pm index 118682d2f..0b6ba8df8 100644 --- a/lib/WebGUI/URL.pm +++ b/lib/WebGUI/URL.pm @@ -178,6 +178,7 @@ sub makeCompliant { $value =~ s/\.$//; #removes trailing period $value =~ s/[^A-Za-z0-9\-\.\_\/]//g; #removes all funky characters $value =~ s/^\///; #removes a preceeding / + $value =~ s/\/\//\//g; #removes double / return $value; }