diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-05-03 17:19:18 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-05-03 17:19:18 +0000 |
commit | 5d7a3d6461fe0f0a39f722aa4bfd92d23713c57b (patch) | |
tree | 07821c9533eae5a825e921e3c712fa5e32163a9b /package/madwifi/Makefile | |
parent | 9151869423f9b369a42906dea8707263fe53aff9 (diff) | |
download | master-187ad058-5d7a3d6461fe0f0a39f722aa4bfd92d23713c57b.tar.gz master-187ad058-5d7a3d6461fe0f0a39f722aa4bfd92d23713c57b.tar.bz2 master-187ad058-5d7a3d6461fe0f0a39f722aa4bfd92d23713c57b.zip |
Fixed: [PATCH 2/3] uhttpd URL-codec enhancements.
My apologies, the 2nd of those patches had a syntax error -- that's what
I get for making a last-minute edit, even to the comments, without
testing! :-p
Here is the corrected patch.
-- David
From d259cff104d2084455476b82e92a3a27524f4263 Mon Sep 17 00:00:00 2001
From: David Favro <openwrt@meta-dynamic.com>
Date: Fri, 27 Apr 2012 14:17:52 -0400
Subject: [PATCH] uhttpd URL-codec enhancements.
* uh_urlencode() and uh_urldecode() now return an error condition for
buffer-overflow and malformed-encoding rather than normal return with corrupt
or truncated data. As HTTP request processing is currently implemented, this
causes a 404 HTTP status returned to the client, while 400 is more
appropriate.
* Exposed urlencode() to Lua.
* Lua's uhttpd.urlencode() and .urldecode() now raise an error condition for
buffer-overflow and malformed-encoding rather than normal return with
incorrect data.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31570 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/Makefile')
0 files changed, 0 insertions, 0 deletions