#26897 [Asn]: PHP.net URL Shortcut Bug, Trailing Slash can cause problems...
| From: | didou@php.net | Date: | Fri, 16 Jan 2004 00:14:46 +0000 |
| Subject: | #26897 [Asn]: PHP.net URL Shortcut Bug, Trailing Slash can cause problems... | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-22979@lists.php.net to get a copy of this message | ||
ID: 26897
Updated by: didou@php.net
Reported By: coco at digitalco2 dot com
Status: Assigned
Bug Type: Website problem
Operating System: WinXP
PHP Version: Irrelevant
Assigned To: goba
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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 ?
------------------------------------------------------------------------
[2004-01-13 15:18:03] coco at digitalco2 dot com
Description:
------------
I just noticed that http://www.php.net/date goes to the Date
& Time
functions (as it should), but http://www.php.net/date/ (with
the
trailing slash) goes to the Tidy functions page. Just thought this was
a little wierd.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26897&edit=1