Re: index pages don't differentiate URL truths

amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] (Andrew M. Bishop)
Newsgroups gmane.network.wwwoffle.user
Message-ID <[email protected]>
Dan Jacobson <[email protected]> writes:

> Beware that WWWOFFLE's index pages don't tell the whole truth. One
> must use wwwoffle-ls or lynx to see the nitty gritty.

Yes, it is true that WWWOFFLE makes the URL that it displays in the
index prettier for humans to read.  Without this a lot of URLs would
just look like a mess of '%' characters and hexadecimal digits.

> $ lynx -dump -width=444 http://localhost:8080/index/monitor|grep pts|cut -c 88-
> .tw/php/program/main.php?MODE=WEEK&WEEK=0;depth=0
> .tw/php/program/main.php?MODE=WEEK&WEEK=2;depth=0
> .tw/php/program/main.php?MODE=WEEK&WEEK=1;depth=0
> .tw/php/program/main.php?MODE=WEEK&WEEK=3;depth=0
> .tw/php/program/main.php?MODE=WEEK&WEEK=4;depth=0
> .tw/php/program/main.php?MODE=WEEK&WEEK=5;depth=0
> .php?MODE=WEEK&WEEK=0;depth=0
> .php%3FMODE%3DWEEK%26WEEK%3D2;depth=0
> .php%3FMODE%3DWEEK%26WEEK%3D1;depth=0
> .php?MODE=WEEK&WEEK=3;depth=0
> .php%3FMODE%3DWEEK%26WEEK%3D4;depth=0
> .php%3FMODE%3DWEEK%26WEEK%3D5;depth=0
> 
> The top half looks hunky dory, but the bottom half, lynx's link list,
> reveals they are different.
> 
> The shorter URLs are due to an experiment and don't belong in
> WWWOFFLE, but still one would hope they would look different.

Getting the correct amount of URL encoding into a URL so that it is
processed in the correct way when it has to go through several layers
is difficult.  It is much better to let WWWOFFLE sort out these tasks
than to try injecting URLs yourself.

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.