[tahoe-dev] help: how should you tell a web browser what name to use for a file?

zooko zooko at zooko.com
Sat May 10 11:31:20 PDT 2008


On May 10, 2008, at 12:19 PM, Brian Warner wrote:

> So if zooko's //-marker trick is out-of-spec, then I think the  
> *only* place
> left to tell tahoe to ignore the last pathname component is at the  
> beginning
> of the URL, with /named or /file or /download or some other  
> spelling of
> option 1b/1c from ticket #221.

Hm...  Maybe that's not the *only* option.  Here's one that I haven't  
previously considered: use "/@@/" to denote the end of the path and  
the beginning of the "name for the web browser to use".

This means that either you are disallowed from having a child link  
named "@@" in your Tahoe filesystem or else that you have to escape  
such a name when passing it through a URL.

Regards,

Zooko



More information about the tahoe-dev mailing list