[Serusers] Rewriting a "+" to 00 in a sip URL

Alexander Mayrhofer axelm at nic.at
Fri Nov 5 12:13:21 CET 2004


On (05.11.04 11:51), Bogdan-Andrei IANCU wrote:
> if (uri=~"sip:+") {

You really want to escape the + sign in the regex (the line above
matches anything).

if (uri=~"sip:\+") {

cheers

axelm




More information about the sr-users mailing list