|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26897 URL Shortcut Bug, Trailing Slash can cause problems...
Submitted: 2004-01-13 15:18 UTC Modified: 2010-12-20 11:43 UTC
From: coco at digitalco2 dot com Assigned: goba (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: WinXP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: coco at digitalco2 dot com
New email:
PHP Version: OS:


 [2004-01-13 15:18 UTC] coco at digitalco2 dot com
I just noticed that goes to the Date & Time functions (as it should), but (with the trailing slash) goes to the Tidy functions page. Just thought this was a little wierd.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-14 07:29 UTC]
It works for me : -> date() manual page => search page with date's link in bold

I don't get redirected to Tidy. What mirror are you using ?
 [2004-01-14 19:19 UTC] coco at digitalco2 dot com
That's wierd, it's only doing it on This probably isn't a big deal, I just wanted to bring it to your attention because it may be misdirecting other functions as well (?). On another note, I'm also kind of suprised that the URL redirect doesn't go to the same place for date as it does for date/ (brings you to a search page instead). A simple regexp can probably fix that.
 [2004-01-15 07:01 UTC]
I will look into striping the trailing slash from shortcut URLs.
 [2004-01-15 18:52 UTC] coco at digitalco2 dot com
OK, that should essentially fix the date/ bug on If you need any help with anything, I'd love to give back to the community that has helped me so much. Thanks for maintaining such a great site.
 [2004-01-15 19:14 UTC]
Here's the error handler if you want to provide a patch (diff -u) ;)

 [2004-01-19 10:02 UTC]
The 1.20 error handler was already fixed to strip trailing slashes when not needed. So /date/ will work the same way as /date now.
 [2010-12-20 11:43 UTC]
-Package: Tidy +Package: Website problem
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Feb 26 07:01:28 2024 UTC