From 93e07c1174773720105b7e0c2dc2facbdcdd4cf1 Mon Sep 17 00:00:00 2001 From: leitner Date: Mon, 15 Sep 2003 10:45:26 +0000 Subject: [PATCH] add + to unsafe characters in fmt_urlencoded --- textcode/fmt_urlencoded.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/textcode/fmt_urlencoded.c b/textcode/fmt_urlencoded.c index 88109f7..8bdd3ff 100644 --- a/textcode/fmt_urlencoded.c +++ b/textcode/fmt_urlencoded.c @@ -8,7 +8,7 @@ static inline int tohex(char c) { } unsigned int fmt_urlencoded(char* dest,const char* src,unsigned int len) { - const char unsafe[]=" %<>\"#{}|\\^~[]`;/?:@=&"; + const char unsafe[]=" +%<>\"#{}|\\^~[]`;/?:@=&"; register const unsigned char* s=(const unsigned char*) src; unsigned long written=0,i; for (i=0; i