You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mongoose handle multi-byte encoded languages such as Chinese, Japanese,
Korean.
--- mongoose.c.orig 2012-03-31 20:21:36.542238733 +0800
+++ mongoose.c 2012-03-31 20:21:59.498241027 +0800
@@ -953,8 +953,7 @@
// actually opens "a.cgi", and does not return an error!
if (*p == 0x20 || // No space at the end
(*p == 0x2e && p > buf) || // No '.' but allow '.' as full path
- *p == 0x2b || // No '+'
- (*p & ~0x7f)) { // And generally no non-ascii chars
+ *p == 0x2b ) { // No '+'
(void) fprintf(stderr, "Rejecting suspicious path: [%s]", buf);
wbuf[0] = L'\0';
} else {
Original issue reported on code.google.com by [email protected] on 31 Mar 2012 at 12:29
Original issue reported on code.google.com by
[email protected]
on 31 Mar 2012 at 12:29The text was updated successfully, but these errors were encountered: