mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
96_allowed.pm: allow HTTP OPTIONS request without authentication (Forum #51362)
git-svn-id: https://svn.fhem.de/fhem/trunk@11180 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8974ee0e3e
commit
cbfa685d12
@ -88,6 +88,8 @@ allowed_Authenticate($$$$)
|
||||
delete $cl->{".httpAuthHeader"};
|
||||
return 0 if(!$basicAuth);
|
||||
|
||||
return 1 if($FW_httpheader[0] =~ m/^OPTIONS /); #Forum #51362
|
||||
|
||||
my $FW_httpheader = $param;
|
||||
my $secret = $FW_httpheader->{Authorization};
|
||||
$secret =~ s/^Basic //i if($secret);
|
||||
|
Loading…
x
Reference in New Issue
Block a user