Fix issue with urls ending in ‘/’ getting normalized wrong
Normalizing them this way ruins the url by cutting off a character too many and making the url invalid.
This commit is contained in:
parent
ca9225972f
commit
5fb1260ba3
1 changed files with 1 additions and 1 deletions
|
@ -1138,7 +1138,7 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService
|
||||||
|
|
||||||
// Delete final /
|
// Delete final /
|
||||||
if (substr($address, -1) == '/') {
|
if (substr($address, -1) == '/') {
|
||||||
$address = substr($address, 0, strlen($address)-2);
|
$address = substr($address, 0, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $address;
|
return $address;
|
||||||
|
|
Loading…
Reference in a new issue