forward porting fixUrl bugfix and test
This commit is contained in:
parent
f966bc572a
commit
ac6651cdcd
4 changed files with 29 additions and 3 deletions
|
|
@ -564,7 +564,7 @@ sub fixUrl {
|
|||
|
||||
# urls can't be longer than 250 characters
|
||||
if (length($url) > 250) {
|
||||
$url = substr($url,220);
|
||||
$url = substr($url,0,220);
|
||||
}
|
||||
|
||||
# remove multiple extensions from the url if there are some
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue