1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-28 12:44:36 +02:00

[package] uhttpd: allow lowercase http header fields (#8513)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24823 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-12-24 22:03:34 +00:00
parent 1fc276b837
commit a95c3294df
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=uhttpd
PKG_RELEASE:=19
PKG_RELEASE:=20
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
PKG_BUILD_DEPENDS := libcyassl liblua

View File

@ -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];
}