#19162 [Opn->Ana]: Downloading a page from cvs.php.net with wget inserts Horde session into file

From: Date: Thu, 29 Aug 2002 01:31:13 +0000
Subject: #19162 [Opn->Ana]: 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-12157@lists.php.net to get a copy of this message
ID: 19162 Updated by: alan_k@php.net Reported By: pgod@php.net -Status: Open +Status: Analyzed -Bug Type: Session related +Bug Type: Website problem Operating System: unknown PHP Version: 4.2.2 New Comment: 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.... Previous Comments: ------------------------------------------------------------------------ [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

« previous php.mirrors (#12157) next »