More URI Expressions (was: list slicing and splicing)
Mark S. Miller
Tue, 03 Nov 1998 19:13:36 -0800
At 12:37 AM 10/15/98 , Ka-Ping Yee wrote:
>What did you have in mind that non-fetchable URLs like
>mailto:firstname.lastname@example.org would yield?
[#] Quoting elmer, the current answer is
? mailto:email@example.com asString
# value: <title>mailto:firstname.lastname@example.org</title>
# <h1>Send Mail to email@example.com</h1>
# <applet code=sun.hotjava.applets.MailDocumentApplet width=500
# <param name=url value="mailto:firstname.lastname@example.org">
# <param name=to value="email@example.com">
But this is probably silly. Should I drop "mailto:", or is there a
>And if file:/tmp/foo.txt gets you a read capability on a
>file, how do you write, append to, or create new files?
[#] It gives you a capability to do all of these.
You will be able to restrict this object to give out subsets of these
authorities, and you will e able to subset the authority of the uriGetter
named by "file:" so that it only gives out a subset of files and/or only
gives out limited authority over these files. Programs operating in a
restricted environment (eventually, most programs) will typically not have
a "file:" in scope.