Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002228Piwigonavigationpublic2011.03.22 15:002012.11.19 23:52
Reporterplg 
Assigned Toplg 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.1.6 
Target Version2.2.0Fixed in Version2.2.0 
Summary0002228: category name in URL, chinese only characters and blank spaces
DescriptionIf you have:

1) set $conf['category_url_style'] = 'id-name';
2) a category name like "??? ???" (russian characters) or "? ?" (chinese characters), ie non-ascii only + blank spaces

Then your browser goes into an infinite redirection loop.

Why? because PHP replaces blank spaces by underscore "_" in the $_GET parameters keys and in the same time Piwigo redirects you if the category name in the URL doesn't match the str2url(categories.name) (see include/section_init.inc.php).
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
(0004907)
svn (reporter)
2011.03.22 15:06

[Subversion] r9819 by plg on branch 2.1

-----[Subversion commit log]----------------------------------------------------
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
(0004908)
svn (reporter)
2011.03.22 15:12

[Subversion] r9820 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
merge r9819 from branch 2.1 to trunk

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


- Issue History
Date Modified Username Field Change
2011.03.22 15:00 plg New Issue
2011.03.22 15:00 plg Status new => assigned
2011.03.22 15:00 plg Assigned To => plg
2011.03.22 15:00 plg browser => any
2011.03.22 15:00 plg Web server => Apache 1.3.x
2011.03.22 15:06 svn Checkin
2011.03.22 15:06 svn Note Added: 0004907
2011.03.22 15:12 svn Checkin
2011.03.22 15:12 svn Note Added: 0004908
2011.03.22 15:12 plg Status assigned => closed
2011.03.22 15:12 plg Resolution open => fixed
2011.03.22 15:12 plg Fixed in Version => 2.1.7
2012.11.19 23:52 plg Fixed in Version 2.1.7 => 2.2.0
2012.11.19 23:52 plg Target Version 2.1.7 => 2.2.0


Copyright © 2000 - 2019 MantisBT Team
Contact
Powered by Mantis Bugtracker