diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2006-03-01 19:53:59 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2006-03-01 19:53:59 +0000 |
commit | da00dd550922abda9fe5799669fac035cc38057f (patch) | |
tree | b998f4682c2a242a5633649e97112f452c3d1b5e /src/ne_uri.c | |
parent | 228565493358fd2fdc9389a4ff23c4f10b8a8e07 (diff) | |
download | neon-da00dd550922abda9fe5799669fac035cc38057f.tar.gz |
* src/ne_uri.c (URI_ESCAPE): Do path-escape "%".
* test/uri-tests.c (escapes): Add test cases.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@978 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'src/ne_uri.c')
-rw-r--r-- | src/ne_uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ne_uri.c b/src/ne_uri.c index c90fff0..a69a5d2 100644 --- a/src/ne_uri.c +++ b/src/ne_uri.c @@ -88,7 +88,7 @@ #define URI_QUERY (URI_PCHAR | FS | QU) /* any characters which should be path-escaped: */ -#define URI_ESCAPE ((URI_GENDELIM & ~(FS)) | URI_SUBDELIM | OT) +#define URI_ESCAPE ((URI_GENDELIM & ~(FS)) | URI_SUBDELIM | OT | PC) static const unsigned int uri_chars[256] = { /* 0xXX x0 x2 x4 x6 x8 xA xC xE */ |