lftp/lftp-3.6.1-empty_argument.patch
Martin Nagy 16aafc0230 - upgrade to upstream version 3.6.1
- remove rpath and make some spec file changes for review (#225984)
- remove old patches
- fix core dumping when html tag has its argument empty
- use own libtool
2008-02-11 15:57:18 +00:00

13 lines
471 B
Diff

diff -up lftp-3.6.1/src/HttpDir.cc.empty_argument lftp-3.6.1/src/HttpDir.cc
--- lftp-3.6.1/src/HttpDir.cc.empty_argument 2007-08-29 13:20:13.000000000 +0200
+++ lftp-3.6.1/src/HttpDir.cc 2008-01-25 14:00:43.000000000 +0100
@@ -70,6 +70,8 @@ static bool find_value(const char *scan,
if(*scan=='"' || *scan=='\'')
quote=*scan++;
+ if(match)
+ store.set("");
while(scan<more && (quote ? *scan!=quote : !is_ascii_space(*scan)))
{
if(match)