[source] uhttpd: fix handling of special "/" prefix when matching handlers

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 25 07:39:03 PDT 2016


jow pushed a commit to source.git, branch master:
https://git.lede-project.org/81b256ee002f86077b7fd61ad200955ef983b06a

commit 81b256ee002f86077b7fd61ad200955ef983b06a
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Oct 25 16:36:47 2016 +0200

    uhttpd: fix handling of special "/" prefix when matching handlers
    
    The special prefix of "/" should match any url by definition but the final
    assertion which ensures that the matched prefix ends in '\0' or '/' is causing
    matches against the "/" prefix to fail.
    
    Update to current HEAD in order to fix this particular case.
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 package/network/services/uhttpd/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/network/services/uhttpd/Makefile b/package/network/services/uhttpd/Makefile
index 78cc245..3600d80 100644
--- a/package/network/services/uhttpd/Makefile
+++ b/package/network/services/uhttpd/Makefile
@@ -8,15 +8,15 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=uhttpd
-PKG_VERSION:=2016-10-06
+PKG_VERSION:=2016-10-25
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL=$(LEDE_GIT)/project/uhttpd.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=c0b5444b533e7177394ceaa247de4495307f72d6
+PKG_SOURCE_VERSION:=1628fa4b34aa143187353f81e8001b9a15286bda
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
-PKG_MIRROR_MD5SUM:=24fbdd2a4e353668a64c9f729db74b3abdcfbbded6b63649696876ace455f252
+PKG_MIRROR_MD5SUM:=9d7ceef6ce40cb12f4065b41d99cf584fcd971dce4a5a13b6a92b04d663e4301
 PKG_MAINTAINER:=Felix Fietkau <nbd at nbd.name>
 PKG_LICENSE:=ISC
 



More information about the lede-commits mailing list