[asterisk-commits] tilghman: trunk r115018 - in /trunk: ./ main/utils.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 1 14:00:19 CDT 2008
Author: tilghman
Date: Thu May 1 14:00:18 2008
New Revision: 115018
URL: http://svn.digium.com/view/asterisk?view=rev&rev=115018
Log:
Merged revisions 115017 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r115017 | tilghman | 2008-05-01 13:59:08 -0500 (Thu, 01 May 2008) | 6 lines
'#' is another reserved character for URIs that also needs to be escaped.
(closes issue #10543)
Reported by: blitzrage
Patches:
20080418__bug10543.diff.txt uploaded by Corydon76 (license 14)
........
Modified:
trunk/ (props changed)
trunk/main/utils.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/utils.c
URL: http://svn.digium.com/view/asterisk/trunk/main/utils.c?view=diff&rev=115018&r1=115017&r2=115018
==============================================================================
--- trunk/main/utils.c (original)
+++ trunk/main/utils.c Thu May 1 14:00:18 2008
@@ -441,7 +441,7 @@
*/
char *ast_uri_encode(const char *string, char *outbuf, int buflen, int doreserved)
{
- char *reserved = ";/?:@&=+$, "; /* Reserved chars */
+ char *reserved = ";/?:@&=+$,# "; /* Reserved chars */
const char *ptr = string; /* Start with the string */
char *out = NULL;
More information about the asterisk-commits
mailing list