#19162 [NEW]: Downloading a page from cvs.php.net with wget inserts Horde session into file
| From: | pgod@php.net | Date: | Wed, 28 Aug 2002 22:57:58 +0000 |
| Subject: | #19162 [NEW]: Downloading a page from cvs.php.net with wget inserts Horde session into file | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-18095@lists.php.net to get a copy of this message | ||
From: pgod@php.net
Operating system: unknown
PHP version: 4.2.2
PHP Bug Type: Session related
Bug description: Downloading a page from cvs.php.net with wget inserts Horde session into file
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 bug report at http://bugs.php.net/?id=19162&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19162&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19162&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19162&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19162&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19162&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19162&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19162&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19162&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19162&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19162&r=globals