#19162 [Ana->Csd]: Downloading a page from cvs.php.net with wget inserts Horde session into file
| From: | pgod@php.net | Date: | Thu, 29 Aug 2002 08:21:03 +0000 |
| Subject: | #19162 [Ana->Csd]: Downloading a page from cvs.php.net with wget inserts Horde session into file | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-12158@lists.php.net to get a copy of this message | ||
ID: 19162
Updated by: pgod@php.net
Reported By: pgod@php.net
-Status: Analyzed
+Status: Closed
Bug Type: Website problem
Operating System: unknown
PHP Version: 4.2.2
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Yes, they have one, i will submit the bug there, and close this one.
Previous Comments:
------------------------------------------------------------------------
[2002-08-28 21:31:12] alan_k@php.net
lynx -source
"http://cvs.php.net/co.php/php-gtk-web/include/layout.php?p=1"
| gunzip
| more
works ok,
I guess because wget does not support gzip'd gets, it reverts to a non
zip call, in which case the session handler will do it's work..
the work around for this would be to turn the session handler off on
the raw get calls in horde...
Therefore changing it to a website issue (there is nothing wrong as far
as I can see with the session handler - eg. expected behavior..)
has horde got a bug tracker we can pass it on to....
------------------------------------------------------------------------
[2002-08-28 18:57:58] pgod@php.net
I wanted to download a file from cvs.php.net, therefore I pointed wget
to it, but the file in cvs and the downloaded file differ in a strange
way.
This is how to reproduce the issue:
Please open
http://cvs.php.net/co.php/php-gtk-web/include/layout.php
in your browser, and find the function 'make_link' (line 125).
Line 126 reads
return sprintf("<a href=\"%s\"%s%s>%s</a>",
This remains true also if you download the file layout.php by opening
this in a browser:
http://cvs.php.net/co.php/php-gtk-web/include/layout.php?p=1
But if you, like me, download the file by giving this url to the wget
program (version 1.5.3, SuSE Linux 7.1), the same line in the
downloaded file reads
return sprintf("<a
href="\?Horde=89d711fe32dcdbf0b8c32996c43ca0e2""%s\"%s%s>%s</a>",
The random looking session id remains the same with every download.
Hard to say wether this has to do with Horde/Chora, PHP Session
Management or wget, as only the wget part lies on my site.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19162&edit=1