Package: wwwoffle Version: 2.8e-2-max-1 Severity: normal
When the remote host respond with: HTTP/1.1 302 Location: <URL>#<fragment> and wwwofle performs the 'wwwofle -fetch' command, it recursively requests document <URL>%23<fragment> instead of <URL> Steps to reproduce: 1. Create a file file1.php on remote server with PHP <?php header("Location: http://wwwoffle-test.net/file2.html#a1"); exit; ?> You can use a local apache and name localhost somehow in /etc/hosts to cheat wwwoffle. 2. request the file through the wwwoffle via any browser. 3. $wwwoffle -online 4. $wwwoffle -fetch The output: WWWOFFLE Now Fetching. Fetching http://wwwoffle-test.net/max/file1.php ... Fetching More http://wwwoffle-test.net/max/file1.php [Page Moved] Fetch Success http://wwwoffle-test.net/max/file1.php Fetching http://wwwoffle-test.net/max/file2.html%23a1 ... Fetch Success http://wwwoffle-test.net/max/file2.html%23a1 Must be: WWWOFFLE Now Fetching. Fetching http://wwwoffle-test.net/max/file1.php ... Fetching More http://wwwoffle-test.net/max/file1.php [Page Moved] Fetch Success http://wwwoffle-test.net/max/file1.php Fetching http://wwwoffle-test.net/max/file2.html ... Fetch Success http://wwwoffle-test.net/max/file2.html -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.4.26-2-oops-max Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) Versions of packages wwwoffle depends on: ii coreutils 5.0.91-2 The GNU core utilities ii debconf 1.4.29 Debian configuration management sy ii debianutils 2.8.3 Miscellaneous utilities specific t ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii zlib1g 1:1.2.1.1-3 compression library - runtime -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]