page names with colon, like user:person not working when SEFURL is on
- Status
- Closed
- Subject
- page names with colon, like user:person not working when SEFURL is on
- Version
- 6.x
- Category
- Error
- Feature
- Search engine optimization (SEO)
- Resolution status
- Invalid
- Submitted by
- Nelson Ko
- Lastmod by
- Nelson Ko
- Rating
- Description
If you have a pagename with a colon in it, like user:person, it will not work because Firefox will think user: is a protocol.
- Solution
Will commit after 6.0 release.
Copy to clipboardIndex: tiki-sefurl.php =================================================================== --- tiki-sefurl.php (revision 27579) +++ tiki-sefurl.php (working copy) @@ -87,5 +95,9 @@ } } } + // Fix links to pages like user:person because Firefox thinks user: is a protocol + if (strpos($tpl_output, '/') === false && strpos($tpl_output, ':') !== false) { + $tpl_output = "./" . $tpl_output; + } return $tpl_output; }- Workaround
- Seems to work perfectly now. The colon does get URL encoded and Firefox does not take it as a protocol anymore.
- Importance
- 8
- Priority
- 40
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 3631
- Created
- Tuesday 09 November, 2010 23:44:21 UTC
by Nelson Ko - LastModif
- Wednesday 05 January, 2011 19:54:27 UTC