bug 2228 fixed: there should be no blank space in the URL to avoid infinite
loop redirection (this happens with chinese only characters + blank space in the category name). Note: this problem does not concern tag names because there is no redirection when the tag name does not match tags.url_name git-svn-id: http://piwigo.org/svn/branches/2.1@9819 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
07e5f40ff5
commit
0c7171750b
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ function str2url($str)
|
||||||
|
|
||||||
if (empty($res))
|
if (empty($res))
|
||||||
{
|
{
|
||||||
$res = $raw;
|
$res = str_replace(' ','_', $raw);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $res;
|
return $res;
|
||||||
|
|
Loading…
Add table
Reference in a new issue