Correct. Unescaped # is not allowed. The BNF implies this directly:

user            = *( unreserved | escaped
                  | "&" | "=" | "+" | "$" | "," )

where:

unreserved  =  alphanum | mark
        mark        =  "-" | "_" | "." | "!" | "~" | "*" | "'"
                   |   "(" | ")"

no # there anywhere.

-Jonathan R.

---
Jonathan D. Rosenberg                       72 Eagle Rock Ave.
Chief Scientist                             First Floor
dynamicsoft                                 East Hanover, NJ 07936
[EMAIL PROTECTED]                     FAX:   (973) 952-5050
http://www.cs.columbia.edu/~jdrosen         PHONE: (973) 952-5000
http://www.dynamicsoft.com
 

> -----Original Message-----
> From: Billy Biggs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 01, 2000 12:49 AM
> To: Jonathan Rosenberg
> Cc: Alexandre Charest; SIP Implementors
> Subject: Re: '#' in tel url
> 
> 
> Jonathan Rosenberg ([EMAIL PROTECTED]):
> 
> > Alexandre Charest:
> >
> > > According to RFC2806 local phone number and other parts of the url
> > > can contain the dtmf-digit '#'. But this character is 
> disallowed in
> > > URI according to RFC2396 as it is used to delimit a URI from a
> > > fragment identifier in URI references. Must it be escaped?
> >
> > Good catch. I presume they should, although the BNF as defined does
> > allow it.  I suspect this is a mistake in the BNF.
> 
>   I'm a bit confused now.  Is an unescaped '#' allowed in the username
> of a SIP URI?
> 
> -- 
> Billy Biggs, 3Com               Email: [EMAIL PROTECTED]
> http://www.div8.net/billy/      Phone: [EMAIL PROTECTED]
> 

Reply via email to