diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-05-01 19:00:18 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-05-01 19:00:18 +0000 |
commit | 95490ee5c24d7f9565fc71b5cc4b1a36e4dd2f0b (patch) | |
tree | 1161b419d04d36ed537d9ce3382dcdce5c9b46cd /main/utils.c | |
parent | e8c3130292cc1601feb16e97ce39cc086710a8f5 (diff) |
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)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/utils.c')
-rw-r--r-- | main/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/utils.c b/main/utils.c index a91e1062b..65b0494eb 100644 --- a/main/utils.c +++ b/main/utils.c @@ -441,7 +441,7 @@ static void base64_init(void) */ 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; |