[SR-Users] Single-quoted vs double-quoted params in Path/Route

Andreas Granig agranig at sipwise.com
Mon Jun 4 20:32:19 CEST 2012


On 06/04/2012 07:29 PM, Iñaki Baz Castillo wrote:
>> My question now is if there are any concerns on your side with handling
>> single-quoted URI params the way we handle double-quoted ones? If we
>> were strict, we'd actually need to remove the handling for double-quoted
>> ones, but for backwards-compatibility I'd rather keep it there.
> 
> IMHO the more friendly solution would be parse_quoted_param() to allow
> both single and double quoted values.
> 
> "Be liberal with receiving and strict while sending" :)

Ack, that's how it's now implemented. I'll push the fix tomorrow if
there are no other objections.

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120604/4d14a4b3/attachment.pgp>


More information about the sr-users mailing list