[sr-dev] [tracker] Task opened: Patch to Add s.urlencode.param (Attachment added)
bugtracker at sip-router.org
Thu Jun 6 01:28:46 CEST 2013
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Josh (JoshE)
Attached to Project - sip-router
Summary - Patch to Add s.urlencode.param
Task Type - Improvement
Category - Core
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Apologies if form isn't quite right (especially for to_hex method in strcommon), but the attached patch adds the ability to urlencode a string to Kamailio 4 (also tested with 3.3).
Useful for those of us that may have a HTTP GET request outbound. The example code in docuemntation using s.escape.param is incorrect, as characters illegal in SIP messages (\n, for instance) are legal in HTTP requests.
Hope this helps someone out.
One or more files have been attached.
More information can be found at the following URL:
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the sr-dev