url's now support /'s.
This commit is contained in:
parent
a08431e436
commit
2f5807a00f
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ sub makeCompliant {
|
||||||
$value =~ s/^\\//; #removes leading slash
|
$value =~ s/^\\//; #removes leading slash
|
||||||
$value =~ s/ /_/g; #replaces whitespace with underscores
|
$value =~ s/ /_/g; #replaces whitespace with underscores
|
||||||
$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
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue