[Freeswitch-svn] [commit] r3482 - freeswitch/trunk/src
Freeswitch SVN
ptinsley at freeswitch.org
Wed Nov 29 00:46:12 EST 2006
Author: ptinsley
Date: Wed Nov 29 00:46:12 2006
New Revision: 3482
Modified:
freeswitch/trunk/src/switch_utils.c
Log:
No reason to consider % dangerous twice...
Also i retract my pcre statement from before, i doubt a perl pack and hex call are going to work in pcre. The regex should give plenty of idea what you need to do in your language of choice though, thats the point :)
Modified: freeswitch/trunk/src/switch_utils.c
==============================================================================
--- freeswitch/trunk/src/switch_utils.c (original)
+++ freeswitch/trunk/src/switch_utils.c Wed Nov 29 00:46:12 2006
@@ -297,7 +297,7 @@
{
char *p;
size_t x = 0;
- const char urlunsafe[] = "\r\n %\"#%&+:;<=>?@[\\]^`{|}";
+ const char urlunsafe[] = "\r\n \"#%&+:;<=>?@[\\]^`{|}";
const char hex[] = "0123456789ABCDEF";
memset(buf, 0, len);
More information about the Freeswitch-svn
mailing list