[tahoe-dev] help: how should you tell a web browser what name to use for a file?
zooko
zooko at zooko.com
Wed May 14 12:07:46 PDT 2008
On May 14, 2008, at 12:59 PM, Brian Warner wrote:
> 2: /cap/(FILECAP|DIRCAP+PATH)/$MAGIC/FILENAME
...
> 2b: $MAGIC = "@@name="
...
> If we go with #2, then whatever value we pick for $MAGIC must be
> removed from
> the list of child names that you're allowed to use in your Tahoe
> directories,
I proposed
1b: /named/$FILECAP/$MAGIC/FILENAME
where MAGIC="@@name="
You are not allowed to do it with DIRCAP+PATH, only with FILECAP, and
you *are* allowed to have children named "@@name=" in your Tahoe
filesystem.
I want 1b more than 1, because it makes it clear to a user who looks
at only the end of a URL (like me) that "welcome.txt" is web-browser-
name, not a Tahoe filesystem name.
How does that sound?
Regards,
Zooko
More information about the tahoe-dev
mailing list