[reSIProcate] Privacy header parsing
Byron Campen
bcampen at estacado.net
Mon Dec 17 15:25:22 CST 2007
I have looked at this a little closer, and it looks like the spec
isn't saying what you think it is. To wit, this:
Privacy: user;session;critical
is not equivalent (conceptually or otherwise) to this:
Privacy: user
Privacy: session
Privacy: critical
"user;session;critical" is a single header-field-value in this case,
and cannot be separated. Now this begs the question, is Privacy a
multi-valued header or not? Can you have something like the following?
Privacy: user;critical
Privacy: header;session
(This could convey that user anonymization is critical, whereas
header and session anonymization would be nice to have)
I can find nothing in 3323 stating whether or not Privacy is single-
valued. Has this been clarified somewhere?
Best regards,
Byron Campen
> All,
>
> I think the 'Privacy' header is parsed incorrectly.
>
> We had some problems with the following header:-
>
> "Privacy: user;id"
>
> When I try to extract to individual tokens I get a c++ exception.
>
> It looks like resip expects the values to be comma delimited,
> however the specification (RFC 3323) has semi colon delimiters.
>
> Rob.
>
> ============================
>
> Robert Mansfield
>
> Senior Software Engineer
>
> Redwood Technologies Limited
>
> The Redwood Building, Broad Lane, Bracknell, Berkshire, RG12 9GU, U.K.
>
> Registered in England No. 2817863
>
> T +[44] (0)1344 304 344
>
> F +[44] (0)1344 304 345
>
> E rjm at redwoodtech.com
>
> W www.redwoodtech.com
>
> =====
>
>
>
> Email Disclaimer
>
>
>
> The information in this email is confidential and may be legally
> privileged. It is intended solely for the addressee. Access to this
> email by anyone else is unauthorised. If you are not the intended
> recipient, any disclosure, copying, distribution or any action
> taken or omitted to be taken in reliance on it is prohibited and
> may be unlawful. When addressed to our clients any opinions or
> advice contained in this email are subject to the limitations of
> Redwood Technologies Limited's standard terms and conditions of
> contract.
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20071217/6fb8626f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2423 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20071217/6fb8626f/attachment.bin>
More information about the resiprocate-devel
mailing list