#12635 [Com]: href="#botton" gives wrong url
| From: | art-comic1151 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:12:52 +0000 |
| Subject: | #12635 [Com]: href="#botton" gives wrong url | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63076@lists.php.net to get a copy of this message | ||
ID: 12635
Comment by: art-comic1151 at hotmail dot com
Reported By: lukas_schell at bluewin dot ch
Status: Bogus
Bug Type: Session related
Operating System: ?
PHP Version: 4.0.4
New Comment:
<a href=http://superuncensored-boo.da.ru>comic
art</a>
Previous Comments:
------------------------------------------------------------------------
[2001-08-16 16:26:54] lukas_schell at bluewin dot ch
Thank you very much ! I'm sorry to have bothered you with my problem. I
was sure I was working with php 4.0.4, but it actually was 4.0.3 and of
course it didn't work properly.
------------------------------------------------------------------------
[2001-08-15 14:37:51] jeroen@php.net
"php could refrain from inserting the session_id if the link contains
only an anchor (like: href="#bottom"), because this means that the page
is not to be reload."
But that's exactly what it does (as of 4.0.4, according to CVS, tested
that it works right with 4.0.4pl1)! Therefore, there is no bug in
PHP>=404, see the html-source! (there was a bug, however, in PHP<=403
And PHP has nothing to do with how browsers handle things...
------------------------------------------------------------------------
[2001-08-15 08:26:55] lukas_schell at bluewin dot ch
You are right that there is no bug so far as concerns the position of
"#bottom". I tried with Explorer 4.5: link no 1, 2 and 4 are OK, but
still the page is reloaded. With Netscape 4.6 the first link does not
work. Maybe it also depends on the reload preferences of the navigator.
So all this is rather tricky, isn't it ?
But what about the following suggestion: php could refrain from
inserting the session_id if the link contains only an anchor (like:
href="#bottom"), because this means that the page is not to be reload.
------------------------------------------------------------------------
[2001-08-13 15:45:13] lukas_schell at bluewin dot ch
Sorry, I put protection 777, but that was too much. Now it should work
:
http://webcour.swisszone.ch/a/essais/session.php?f=1
------------------------------------------------------------------------
[2001-08-12 19:59:47] jeroen@php.net
Works correctly (that "#bottom" is left alone) since oktober 2000
(version 1.17 of ext/standard/url_scanner_ex.re)
That means it worked since 4.0.4 exactly. (I only tested 4.0.7, so I'm
not 100% certain)
And I was correct that # came _after_ the ?, so there's no bug
(anymore).
------------------------------------------------------------------------
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/12635
--
Edit this bug report at http://bugs.php.net/?id=12635&edit=1