Explorar o código

suppress warnings

George S. Baugh %!s(int64=5) %!d(string=hai) anos
pai
achega
46b166670d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      www/server.psgi

+ 1 - 1
www/server.psgi

@@ -101,7 +101,7 @@ my $app = sub {
     }
 
     # If it's just a file, serve it up
-    my $alist = $env->{HTTP_ACCEPT_ENCODING};
+    my $alist = $env->{HTTP_ACCEPT_ENCODING} || '';
     $alist =~ s/\s//g;
     my @accept_encodings;
     @accept_encodings = split(/,/, $alist);