Version: 2.8e-2-max-1 (regular debian build with my little patch about
fetch/autodial)

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

--
Max

Reply via email to