In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
388 [In-Portal CMS] Front End bug report always 2009-10-14 08:40 2010-01-11 22:05
alex  
alex  
normal  
closed 5.0.1  
fixed  
 
none 5.0.2-B1  
0
0000388: National symbols are incorrectly parsed from url resulting module index page to be shown instead of section template
During url parsing function mb_strtolower is used to lowercase url and database data, that is matched against it. Problem is, that mb_internral_encoding('UTF-8') function is called after url parsing, when language is already available.

Because of it mb_strtolower uses default mbstring extension encoding, that in my case was "ISO-8859-1" resulting corrupted url as the result. Because of that only urls parts (between "/") in english were parsed correctly.

This way if url is "http://www.site.com/products/baskı-urünleri.html" it's only "products" part is parsed and corresponding to that section template is shown.
patch national_symbols_in_url_fix.patch (1,472) 2009-10-14 08:55
http://tracker.in-portal.org/file_download.php?file_id=110&type=bug
patch site_charset_not_respected_in_close_popup_template.patch (411) 2009-10-15 01:46
http://tracker.in-portal.org/file_download.php?file_id=112&type=bug
Issue History
2010-01-11 22:05 Dmitry Note Added: 0001356
2010-01-11 22:05 Dmitry Status resolved => closed
2009-10-25 15:51 alex Changeset attached 5.0.x r12787
2009-10-25 15:51 alex Note Added: 0000974
2009-10-25 15:51 alex Status reviewed and tested => resolved
2009-10-25 15:51 alex Fixed in Version => 5.0.2-B1
2009-10-25 15:51 alex Resolution open => fixed
2009-10-25 15:37 alex Note Added: 0000973
2009-10-25 15:37 alex Target Version Icebox => 5.0.2
2009-10-18 02:23 Dmitry Note Added: 0000917
2009-10-18 02:23 Dmitry Assigned To !COMMUNITY => alex
2009-10-18 02:23 Dmitry Status needs testing => reviewed and tested
2009-10-15 01:46 alex File Added: site_charset_not_respected_in_close_popup_template.patch
2009-10-14 08:55 alex Assigned To => !COMMUNITY
2009-10-14 08:55 alex Status active => needs testing
2009-10-14 08:55 alex File Added: national_symbols_in_url_fix.patch
2009-10-14 08:40 alex Target Version => Icebox
2009-10-14 08:40 alex New Issue

Notes
(0000917)
Dmitry   
2009-10-18 02:23   
Tested ok
(0000973)
alex   
2009-10-25 15:37   
Moving to 5.0.2 release as community input during 5.0.2-B1 version testing.
(0000974)
alex   
2009-10-25 15:51   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000388: National symbols are incorrectly parsed from url resulting module index page to be shown instead of section template
(0001356)
Dmitry   
2010-01-11 22:05   
Closing completed tasks.