RFC is RFC

Today read RFC 2396 about URI syntax. I found RFC is subtle, for example:
In general, a character is reserved if the semantics of the URI changes if the character is replaced with its escaped US-ASCII encoding. -- section 2.2
or
Implementers should be careful not to escape or unescape the same string more than once, since unescaping an already unescaped string might lead to misinterpreting a percent data character as another escaped character, or vice versa in the case of escaping an already escaped string. -- section 2.4.2
These can be real bugs in specific implementation! RFC is RFC. If one get to read it, read it very carefully :-)
Comments:

If you're looking at 2396, you should look at 2396bis instead, which is about to obsolete it and is much better. It's still going through the secretariat, but the final version is at http://www.apache.org/~fielding/uri/rev-2002/rfc2396bis.html

Posted by Tim Bray on November 09, 2004 at 03:57 PM GMT+08:00 #

Post a Comment:
Comments are closed for this entry.
About

edward

Search

Top Tags
Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today