#26897 [Asn->Csd]: PHP.net URL Shortcut Bug, Trailing Slash can cause problems...
| From: | goba@php.net | Date: | Mon, 19 Jan 2004 15:02:47 +0000 |
| Subject: | #26897 [Asn->Csd]: PHP.net URL Shortcut Bug, Trailing Slash can cause problems... | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-23033@lists.php.net to get a copy of this message | ||
ID: 26897
Updated by: goba@php.net
Reported By: coco at digitalco2 dot com
-Status: Assigned
+Status: Closed
Bug Type: Website problem
Operating System: WinXP
PHP Version: Irrelevant
Assigned To: goba
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-01-15 19:14:45] didou@php.net
Here's the error handler if you want to provide a patch (diff -u) ;)
http://cvs.php.net/co.php/phpweb/error.php?login=2&r=1.20
didou
------------------------------------------------------------------------
[2004-01-15 18:52:53] coco at digitalco2 dot com
OK, that should essentially fix the date/ bug on us4.php.net. 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 07:01:11] goba@php.net
I will look into striping the trailing slash from shortcut URLs.
------------------------------------------------------------------------
[2004-01-14 19:19:24] coco at digitalco2 dot com
That's wierd, it's only doing it on us4.php.net. 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-14 07:29:31] didou@php.net
It works for me :
www.php.net/date -> date() manual page
www.php.net/date/ => search page with date's link in bold
I don't get redirected to Tidy. What mirror are you using ?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/26897
--
Edit this bug report at http://bugs.php.net/?id=26897&edit=1