mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
01_FHEMWEB.pm: fix for 404 (Forum #52191)
git-svn-id: https://svn.fhem.de/fhem/trunk@11253 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5a196dab1c
commit
067b63e044
@ -1684,7 +1684,7 @@ FW_returnFileAsStream($$$$$)
|
|||||||
"HTTP/1.1 404 Not Found\r\n".
|
"HTTP/1.1 404 Not Found\r\n".
|
||||||
"Content-Length:0\r\n\r\n");
|
"Content-Length:0\r\n\r\n");
|
||||||
FW_closeConn($FW_chash);
|
FW_closeConn($FW_chash);
|
||||||
return 0;
|
return -1;
|
||||||
}
|
}
|
||||||
binmode(FH) if($type !~ m/text/); # necessary for Windows
|
binmode(FH) if($type !~ m/text/); # necessary for Windows
|
||||||
my $sz = -s $path;
|
my $sz = -s $path;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user