summaryrefslogtreecommitdiff
path: root/server/gen_test_char.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/gen_test_char.c')
-rw-r--r--server/gen_test_char.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/gen_test_char.c b/server/gen_test_char.c
index 587583ae..59947d58 100644
--- a/server/gen_test_char.c
+++ b/server/gen_test_char.c
@@ -90,8 +90,8 @@ int main(int argc, char *argv[])
flags |= T_OS_ESCAPE_PATH;
}
- /* these are the "tspecials" from RFC2068 */
- if (c && (apr_iscntrl(c) || strchr(" \t()<>@,;:\\/[]?={}", c))) {
+ /* these are the "tspecials" (RFC2068) or "separators" (RFC2616) */
+ if (c && (apr_iscntrl(c) || strchr(" \t()<>@,;:\\\"/[]?={}", c))) {
flags |= T_HTTP_TOKEN_STOP;
}