Do you have a better idea?

On 14 Jan 2006, at 20:28, Matthew Toseland wrote:

> 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.
> _______________________________________________
> Tech mailing list
> Tech at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech


Reply via email to