From: Dobrica Pavlinusic Date: Thu, 2 Apr 2020 14:11:19 +0000 (+0200) Subject: it seems that taling slashes for Location: are better default X-Git-Url: http://git.rot13.org/?p=via-proxy;a=commitdiff_plain;h=0d625c3196c6b38cfb7a8ab44eb19da7115a2aec it seems that taling slashes for Location: are better default --- diff --git a/add-provider.pl b/add-provider.pl index 28bbb95..1d20bb3 100755 --- a/add-provider.pl +++ b/add-provider.pl @@ -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{