diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-12-24 22:03:34 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-12-24 22:03:34 +0000 |
commit | a6e2b6e7252482ee3b7412e8c47c8170430a7420 (patch) | |
tree | fc2e93b5529c07cbe6cb41951397971de8a83581 /uhttpd.c | |
parent | 62ba2d547f4bbc0fbaefcea1c021a33a1092a030 (diff) | |
download | uhttpd-a6e2b6e7252482ee3b7412e8c47c8170430a7420.tar.gz |
[package] uhttpd: allow lowercase http header fields (#8513)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/package/uhttpd/src@24823 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'uhttpd.c')
-rw-r--r-- | uhttpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -339,8 +339,8 @@ static struct http_request * uh_http_header_parse(struct client *cl, char *buffe hdrdata = &buffer[i+2]; } - /* have no name and found [A-Z], start of name */ - else if( !hdrname && isalpha(buffer[i]) && isupper(buffer[i]) ) + /* have no name and found [A-Za-z], start of name */ + else if( !hdrname && isalpha(buffer[i]) ) { hdrname = &buffer[i]; } |