Don't entity encode the URL we give to JavaScript.
authorSteinar H. Gunderson <sesse@debian.org>
Mon, 31 Jul 2006 17:54:47 +0000 (19:54 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Mon, 31 Jul 2006 17:54:47 +0000 (19:54 +0200)
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/&amp;/&/g;
+
                Sesse::pr0n::Templates::print_template($r, "fullscreen-footer", {
                        vhost => $r->get_server_name,
                        event => $event,