Don't entity encode the URL we give to JavaScript.
[pr0n] / perl / Sesse / pr0n / Index.pm
index 44a57f8f329d3593b257c03d3b8f8a7af2f01aa9..c073a76086ec70a33e74d9b38a8c62f70dd0eef6 100644 (file)
@@ -116,6 +116,9 @@ sub handler {
                my $returnurl = "http://" . $r->get_server_name . "/" . $event . "/" .
                        Sesse::pr0n::Common::get_query_string(\%settings_no_fullscreen, \%defsettings);
 
+               # *whistle*
+               $returnurl =~ s/&/&/g;
+
                Sesse::pr0n::Templates::print_template($r, "fullscreen-footer", {
                        vhost => $r->get_server_name,
                        event => $event,