diff --git a/FHEM/01_FHEMWEB.pm b/FHEM/01_FHEMWEB.pm index c30ff01be..9b4b35d8b 100644 --- a/FHEM/01_FHEMWEB.pm +++ b/FHEM/01_FHEMWEB.pm @@ -870,8 +870,7 @@ FW_answerCall($) $dir =~ s,www/,,g; # Want commandref.html to work from file://... my $file = urlDecode($ofile); # 69164 - $file =~ s/[?#].*//; # Remove timestamp of CSS reloader - $file = "index.html" if(defined($file) && $file eq ""); # 119470 + $file =~ s/\?.*//; # Remove timestamp of CSS reloader if($file =~ m/^(.*)\.([^.]*)$/) { $file = $1; $ext = $2; }