Suppose I create a manifest:
freenet:CHK at 
Zv4~jaNa3XOTSwnat1wYxxcAhSY0puYTkdmFFV08u-U,PycY-2aSlS0WxfyA6R8d2Z4Ppv4DNOEnty4~-rni82o,AAEC--8//

Suppose I then create a redirect to that manifest. For example, an SSK
(for a freesite).

If I then enter the SSK without the double slash on the end, it will
load, with the default document. Unfortunately, the relative URIs will
all have a single slash instead of a double slash. So we end up
fetching:
freenet:CHK at 
Zv4~jaNa3XOTSwnat1wYxxcAhSY0puYTkdmFFV08u-U,PycY-2aSlS0WxfyA6R8d2Z4Ppv4DNOEnty4~-rni82o,AAEC--8/<name
 of file>
So instead of looking it up in the manifest, we fetch the original file!

This is exactly the kind of unintuitive behaviour that double slashes
cause...
-- 
Matthew J Toseland - toad at amphibian.dyndns.org
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/tech/attachments/20060114/1202ceb4/attachment.pgp>

Reply via email to