merging 5.5 bugfixes
This commit is contained in:
parent
7edf45ad47
commit
a1b80ac789
1 changed files with 1 additions and 0 deletions
|
|
@ -178,6 +178,7 @@ sub makeCompliant {
|
||||||
$value =~ s/\.$//; #removes trailing period
|
$value =~ s/\.$//; #removes trailing period
|
||||||
$value =~ s/[^A-Za-z0-9\-\.\_\/]//g; #removes all funky characters
|
$value =~ s/[^A-Za-z0-9\-\.\_\/]//g; #removes all funky characters
|
||||||
$value =~ s/^\///; #removes a preceeding /
|
$value =~ s/^\///; #removes a preceeding /
|
||||||
|
$value =~ s/\/\//\//g; #removes double /
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue