[asterisk-commits] tilghman: branch 1.4 r115017 - /branches/1.4/main/utils.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 1 13:59:08 CDT 2008
Author: tilghman
Date: Thu May 1 13:59:08 2008
New Revision: 115017
URL: http://svn.digium.com/view/asterisk?view=rev&rev=115017
Log:
'#' 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:
branches/1.4/main/utils.c
Modified: branches/1.4/main/utils.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/utils.c?view=diff&rev=115017&r1=115016&r2=115017
==============================================================================
--- branches/1.4/main/utils.c (original)
+++ branches/1.4/main/utils.c Thu May 1 13:59:08 2008
@@ -446,7 +446,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