summaryrefslogtreecommitdiff
path: root/busybox/networking/httpd.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-07-18 23:51:27 +0000
committerEric Andersen <andersen@codepoet.org>2005-07-18 23:51:27 +0000
commit164a716f964bba247c660bc70149234f95146871 (patch)
tree95a8a6f75cb2ed1bb07cb6019088db7348ebf4d4 /busybox/networking/httpd.c
parent8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373 (diff)
downloadbusybox-w32-164a716f964bba247c660bc70149234f95146871.tar.gz
busybox-w32-164a716f964bba247c660bc70149234f95146871.tar.bz2
busybox-w32-164a716f964bba247c660bc70149234f95146871.zip
busybox-1.0.1-rc1.patch
http://busybox.net/lists/busybox/2005-July/014974.html
Diffstat (limited to 'busybox/networking/httpd.c')
-rw-r--r--busybox/networking/httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/busybox/networking/httpd.c b/busybox/networking/httpd.c
index 83ded5330..94fcfc8c1 100644
--- a/busybox/networking/httpd.c
+++ b/busybox/networking/httpd.c
@@ -734,7 +734,7 @@ static char *encodeString(const char *string)
734 while ((ch = *string++)) { 734 while ((ch = *string++)) {
735 // very simple check for what to encode 735 // very simple check for what to encode
736 if (isalnum(ch)) *p++ = ch; 736 if (isalnum(ch)) *p++ = ch;
737 else p += sprintf(p, "&#%d", (unsigned char) ch); 737 else p += sprintf(p, "&#%d;", (unsigned char) ch);
738 } 738 }
739 *p=0; 739 *p=0;
740 return out; 740 return out;