- From: Mike Schinkel <mikeschinkel@gmail.com>
- Date: Tue, 16 Jan 2007 12:18:13 -0500
- To: "'Mark Nottingham'" <mnot@mnot.net>
- Cc: <uri@w3.org>
Mark Nottingham wrote: > ---8<--- > * The Foo URI Template > > Foo is a URI template [RFCxxxx] that allows two (2) variables, "bar" > and "baz". For example; > > <http://www.example.com/{bar}?arg={baz}> > > The "bar" template variable should have any characters from the sub- > delim rule in [RFC3986] percent-encoded before template expansion. > > The "baz" template variable should percent-encode the "&" and "#" > characters before template expansion. > --->8--- I get lost on some of this stuff. Are you saying that bar="main" baz="us&arg2=ca#below-the-fold" http://www.example.com/{bar}?arg={baz} Would end up looking like this http://www.example.com/main?arg=us%26arg2%3Dca%23below-the-fold And NOT like this: http://www.example.com/main?arg=us&arg2=ca#below-the-fold Correct? -- -Mike Schinkel http://www.mikeschinkel.com/blogs/ http://www.welldesignedurls.org/ "It never ceases to amaze how many people will proactively debate away attempts to improve the web..."
Received on Tuesday, 16 January 2007 17:18:27 UTC