projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eb1e41
)
characters encoded as html should have a trailing semicolon
author
Eric Andersen
<andersen@codepoet.org>
Thu, 23 Jun 2005 05:51:48 +0000
(
05:51
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Thu, 23 Jun 2005 05:51:48 +0000
(
05:51
-0000)
to be interpreted properly
networking/httpd.c
patch
|
blob
|
history
diff --git
a/networking/httpd.c
b/networking/httpd.c
index 83ded53309b2080c0a67829ac293f30aee31f0be..94fcfc8c18bcd21512f17787659321bb70623e6c 100644
(file)
--- a/
networking/httpd.c
+++ b/
networking/httpd.c
@@
-734,7
+734,7
@@
static char *encodeString(const char *string)
while ((ch = *string++)) {
// very simple check for what to encode
if (isalnum(ch)) *p++ = ch;
- else p += sprintf(p, "&#%d", (unsigned char) ch);
+ else p += sprintf(p, "&#%d
;
", (unsigned char) ch);
}
*p=0;
return out;