it seems that taling slashes for Location: are better default
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 2 Apr 2020 14:11:19 +0000 (16:11 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 2 Apr 2020 14:11:19 +0000 (16:11 +0200)
add-provider.pl

index 28bbb95..1d20bb3 100755 (executable)
@@ -31,9 +31,9 @@ print $fh qq{
        #Header edit* Set-Cookie "(.*)(?i:; *secure)" "\$1"
 };
 
+print $fh qq{# if there are problems, remove traling /\n};
 foreach ( @domains ) {
-       # for maximum compatibility, they should NOT end with /
-       print $fh qq{\tHeader edit* Location "https://$_" "https://$_.p.vbz.ffzg.hr"\n};
+       print $fh qq{\tHeader edit* Location "https://$_/" "https://$_.p.vbz.ffzg.hr/"\n};
 }
 
 print $fh qq{