Skip to content

Commit

Permalink
merge r9819 from branch 2.1 to trunk
Browse files Browse the repository at this point in the history
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/trunk@9820 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Mar 22, 2011
1 parent 197d395 commit dee9418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions.inc.php
Expand Up @@ -392,7 +392,7 @@ function str2url($str)

if (empty($res))
{
$res = $raw;
$res = str_replace(' ','_', $raw);
}

return $res;
Expand Down

0 comments on commit dee9418

Please sign in to comment.