Dan Jacobson <[EMAIL PROTECTED]> writes:

> There's a problem in that wwwoffle has stored URLs in an invalid
> format, not making them into valid url first.

WWWOFFLE always converts URLs into a canonical format before using
them.  It has done this since version 2.6, the description of how it
does it is contained in the file doc/README.URL.

> One can only access files if one gives the exact mix of &'s and %26's
> that the URL entered wwwoffle with,

You cannot mix '&' and '%26' as you want, the '&' is special.

> $ wwwoffle-ls 
> 'http://groups.google.com.tw/groups?hl=zh-TW&lr=&ie=UTF-8&frame=left&th=3be7a746b9d627d1&prev=/groups%3Fq%3Djidanni%26hl%3Dzh-TW%26sa%3DG%26scoring%3Dd&seekm=MPG.197011df92c6aa1d98988e%40netnews.comcast.net'
> DqBwKSDUUyaYR4GqhwRDr2A    4462 Jul  6  5:09 
> http://groups.google.com.tw/groups?hl=zh-TW&lr=&ie=UTF-8&frame=left&th=3be7a746b9d627d1&prev=/groups%3Fq%3Djidanni%26hl%3Dzh-TW%26sa%3DG%26scoring%3Dd&seekm=MPG.197011df92c6aa1d98988e%40netnews.comcast.net
> 
> If one dares to rewrite one of those &'s to a %26, or even %26's into
> a &, well,
> 
> $ wwwoffle-ls 
> 'http://groups.google.com.tw/groups?hl=zh-TW&lr=&ie=UTF-8&frame=left&th=3be7a746b9d627d1&prev=/groups%3Fq%3Djidanni%26hl%3Dzh-TW%26sa%3DG%26scoring%3Dd%26seekm=MPG.197011df92c6aa1d98988e%40netnews.comcast.net'
> wwwoffle-ls[7971] Warning: Cannot stat the file 'DOXjfrNdrPZG7ZGgS+avyvw' [No such 
> file or directory].

> So it seems the onus is on wwwoffle to cannonicalize names on the way
> in and out, in the future.

And in the past since version 2.6.

> Also it seems a great renamer program should be supplied to adjust all
> the D* and U* files to the cannonicalized names.

The program name is 'convert-cache' and it is described in the file
called doc/CONVERT.

> [P.S. there is a slight chance I am/have off/lost rocker/marbles]

No comment.


> $ wwwoffle-ls 
> 'http://groups.google.com.tw/groups?hl=zh-TW&lr=&ie=UTF-8&frame=left&th=3be7a746b9d627d1&prev=/groups%3Fq%3Djidanni%26hl%3Dzh-TW%26sa%3DG%26scoring%3Dd&seekm=MPG.197011df92c6aa1d98988e%40netnews.comcast.net'

This is a request with the following list of arguments:

hl      =       zh-TW
lr      =
ie      =       UTF-8
frame   =       left
th      =       3be7a746b9d627d1
prev    =       /groups?q=jidanni&hl=zh-TW&sa=G&scoring=d
seekm   =       [EMAIL PROTECTED]'

> $ wwwoffle-ls 
> 'http://groups.google.com.tw/groups?hl=zh-TW&lr=&ie=UTF-8&frame=left&th=3be7a746b9d627d1&prev=/groups%3Fq%3Djidanni%26hl%3Dzh-TW%26sa%3DG%26scoring%3Dd%26seekm=MPG.197011df92c6aa1d98988e%40netnews.comcast.net'

This is a request with the following list of arguments:

hl      =       zh-TW
lr      =
ie      =       UTF-8
frame   =       left
th      =       3be7a746b9d627d1
prev    =       /groups?q=jidanni&hl=zh-TW&sa=G&scoring=d&[EMAIL PROTECTED]


There is a big difference between these two.

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             [EMAIL PROTECTED]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.7/user.html

Reply via email to