[sr-dev] git:master: If the user parameter is "<null>" (e. g a empty username in the request URI), do not copy this value to the rewritten uri.

marius zbihlei marius.zbihlei at 1and1.ro
Mon Oct 19 10:56:33 CEST 2009


Andrei Pelinescu-Onciul wrote:
> On Oct 12, 2009 at 14:23, Marius Zbihlei <marius.zbihlei at 1and1.ro> wrote:
>   
>> Module: sip-router
>> Branch: master
>> Commit: e06a69d625d4c1293fceef13f9eca22e14662f9f
>> URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e06a69d625d4c1293fceef13f9eca22e14662f9f
>>
>> Author: Marius Zbihlei <marius.zbihlei at 1and1.ro>
>> Committer: Marius Zbihlei <marius.zbihlei at 1and1.ro>
>> Date:   Mon Oct 12 15:10:55 2009 +0300
>>
>> If the user parameter is "<null>" (e.g a empty username in the request URI), do not copy this value to the rewritten uri.
>> This is the case of a REGISTER request. Added statements that the parameters to the actually_rewrite func may not be null.
>>     
>
> Should this patch make it also in sr_3.0 (stable) ?
> If it should just let me know and I'll merge all the master changes back
> into sr_3.0 (it's the only non-doc related change on master since the
> sr_3.0 branch).
>
> Andrei
>
>   
Hi

I think this is the case.

There maybe should be a better way to determine  the "<null>" value, but 
the API provided none such way.

Cheers,
Marius



More information about the sr-dev mailing list