Use single slashes to denote meta strings. Hence:
CHK at blah,blah,blah/ - a CHK CHK at blah,blah,blah/filename.txt - a file within a CHK manifest SSK at blah,blah/ - invalid SSK at blah,blah// - strongly discouraged SSK with zero length name SSK at blah,blah/name - an SSK with a name SSK at blah,blah/name/index.htm - a file within an SSK manifest On Sat, Jan 14, 2006 at 08:30:01PM +0000, Ian Clarke wrote: > 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 > > _______________________________________________ > Tech mailing list > Tech at freenetproject.org > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech -- 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/27186065/attachment.pgp>
