In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1303 [In-Portal CMS] Front End bug report always 2012-05-29 05:54 2012-07-25 05:30
alex  
alex  
normal  
closed 5.1.3  
fixed  
 
none 5.2.0-RC1  
https://groups.google.com/d/topic/in-portal-bugs/zZLh8VPnSjM/discussion
Fixes trailing slash problem of <inp2:m_Base_Ref/> tag
1
0001303: Tag <inp2:m_Base_Ref/> adds // at resulting url
Tag <inp2:m_Base_Ref/> produces following html:
* on Front-End: <base href="http://www.website.tld//"/> (2 slashes)
* in Admin Console: <base href="http://www.website.tld/core/admin_templates/"/> (1 slash)
This doesn't cause any problems to browsers who parse such HTML, but doesn't look good.


This all happens because that uses <inp2:m_TemplatesBase/> tag, that doesn't add trailing / when used in admin. Maybe in time we should change <inp2:m_TemplatesBase/> tag to add trailing / no matter where it's used.
patch base_ref_tag_creates_adds_2_slashes_in_url.patch (612) 2012-05-29 05:54
http://tracker.in-portal.org/file_download.php?file_id=1679&type=bug
Issue History
2012-07-25 05:30 alex Note Added: 0004885
2012-07-25 05:30 alex Status resolved => closed
2012-05-29 05:56 alex Note Added: 0004675
2012-05-29 05:56 alex Status reviewed and tested => resolved
2012-05-29 05:56 alex Fixed in Version => 5.2.0-RC1
2012-05-29 05:56 alex Resolution open => fixed
2012-05-29 05:56 alex Assigned To !COMMUNITY => alex
2012-05-29 05:56 alex Changeset attached 5.2.x r15365
2012-05-29 05:55 alex Note Added: 0004674
2012-05-29 05:55 alex Status needs testing => reviewed and tested
2012-05-29 05:55 alex Assigned To => !COMMUNITY
2012-05-29 05:55 alex Developer => alex
2012-05-29 05:55 alex Status active => needs testing
2012-05-29 05:55 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/zZLh8VPnSjM/discussion
2012-05-29 05:54 alex New Issue
2012-05-29 05:54 alex File Added: base_ref_tag_creates_adds_2_slashes_in_url.patch
2012-05-29 05:54 alex Change Log Message => Fixes trailing slash problem of <inp2:m_Base_Ref/> tag
2012-05-29 05:54 alex Estimate Points => 1

Notes
(0004674)
alex   
2012-05-29 05:55   
Will test all together later.
(0004675)
alex   
2012-05-29 05:56   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001303: Tag <inp2:m_Base_Ref/> adds // at resulting url
(0004885)
alex   
2012-07-25 05:30   
Since 5.2.0/1.2.0 versions was released.