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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user