Whoopsies 2: Electric Boogaloo

This commit is contained in:
swagg boi 2023-11-13 21:15:26 -05:00
parent 93b7ba6717
commit 6e8a763929

View file

@ -30,7 +30,7 @@ $router.post(-> $request, $response {
my Str $return-url = fix-protocol($request.content<hyperlink>);
my Bool $meta-refresh = $request.content<meta-refresh>.defined;
my Str $url-scheme = $request.headers<x-forwarded-proto> || 'http';
my Any $url-host = $request.headers<host>;
my Str $url-host = $request.headers<host>;
my (Str $base-url, Str $hyperlink, Str %stash);
$base-url = $url-scheme ~ '://' ~ $url-host ~