[SIPForum-discussion] Mistake in absolute-URI?

+ Ymaz ymaz_x0 at tut.by
Thu Mar 31 09:58:58 UTC 2011


Hello!

I have some questions about BNF, especially of 'absoluteURI'.

According to BNF, absoluteURI it's like this

absoluteURI = scheme ":" ( hier-part / opaque-part )

hier-part = ( net-path / abs-path ) [ "?" query ]
net-path = "//" authority [ abs-path ]
abs-path = "/" path-segments
query = *uric

authority = srvr / reg-name
srvr = [ [ userinfo "@" ] hostport ]
reg-name = 1*( unreserved / escaped
               / "$" / "," / ";" / ":" / "@" / "&" / "=" / "+" )

Okay, look at srvr = [ [ userinfo "@" ] hostport ], then check out
userinfo = ( user / telephone-subscriber ) [ ":" password ] "@"
See the "at" in the end of 'userinfo' expression, than check 'srvr' once
again and look at the symbol "at" too.

So, if you put 'userinfo' expression into 'srvr', it's could be happened
like "sip:alice@@atlanta.com" with two "@".  It's a mistake, or I don’t
understand it right?

Many thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20110331/e1310dcc/attachment-0002.html>


More information about the discussion mailing list