mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
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:
parent
4a92b10d8f
commit
1afa62a1bb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user