1 <form id="canary-form" action="<% $fsurl %>misc/edge_browser_check-iframe.html" method="POST">
2 <input type="text" id="canary-result" value="<% scalar $cgi->param('edge_browser_canary') %>">
3 <select name="edge_browser_canary">
7 <input id="canary-submit" type="submit">
10 <script type="text/javascript">
12 if ( ! $("#canary-result").val() ) {
13 $("#canary-form").submit();
19 my $cgi = FS::UID::cgi();
20 my $curuser = $FS::CurrentUser::CurrentUser;
21 my $session = $FS::CurrentUser::CurrentSession;
22 my $sessionkey = $session->sessionkey if $session;
25 my $canary = $cgi->param('edge_browser_canary');
27 'edge_bug_vulnerable',
29 $canary eq 'test' ? $sessionkey : 'Y',