[Kamailio-Devel] [ openser-Bugs-2461229 ] s.escape.common does nothing

SourceForge.net noreply at sourceforge.net
Tue Dec 23 12:17:10 CET 2008


Bugs item #2461229, was opened at 2008-12-23 12:14
Message generated for change (Comment added) made by axlh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2461229&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: ver 1.4.x
Status: Closed
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Alex Hermann (axlh)
Assigned to: Nobody/Anonymous (nobody)
Summary: s.escape.common does nothing

Initial Comment:
The following fragment:

$var(number) = $rU{s.escape.common};
TRACE("Unescaped: $rU  Escaped: $var(number)");


Produces this output when $rU is "0'123":

Dec 23 12:12:53 proxy kamailio[12897]: Unescaped: 0'123  Escaped: 0'123


Expected output would have been "0\'123"

----------------------------------------------------------------------

>Comment By: Alex Hermann (axlh)
Date: 2008-12-23 12:17

Message:
time to wakeup :(

$(rU{s.escape.common})

----------------------------------------------------------------------

Comment By: Alex Hermann (axlh)
Date: 2008-12-23 12:16

Message:
I just noticed the syntax of the escape was wrong:

$rU{s.escape.common}

should have been:

$rU({s.escape.common})

Perhaps the config parser should spit out an error message.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2461229&group_id=139143



More information about the Devel mailing list