From 1afa62a1bbb48ea2bc31f965a4f2b3af1f011d35 Mon Sep 17 00:00:00 2001 From: sidey79 Date: Sun, 11 Mar 2018 22:22:56 +0000 Subject: [PATCH] 00_SIGNALduino.pm: Bugfix for filename detection flashing via http source git-svn-id: https://svn.fhem.de/fhem/trunk@16390 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/00_SIGNALduino.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/00_SIGNALduino.pm b/fhem/FHEM/00_SIGNALduino.pm index 218470d65..fb69d9faa 100644 --- a/fhem/FHEM/00_SIGNALduino.pm +++ b/fhem/FHEM/00_SIGNALduino.pm @@ -2782,7 +2782,7 @@ sub SIGNALduino_ParseHttpResponse { my $filename; - if ($param->{httpheader} =~ /Content-Disposition: attachment;filename=\"?([-+.\w]+)?\"/) + if ($param->{httpheader} =~ /Content-Disposition: attachment;.?filename=\"?([-+.\w]+)?\"?/) { $filename = $1; } else { # Filename via path if not specifyied via Content-Disposition