File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<html>
22<head>
3- <meta http-equiv="refresh" content="0; url=pdf.js-hypothes.is/viewer/web/viewer.html?file=<?php echo $ _GET ["file " ] ?> " />
3+ <meta http-equiv="refresh" content="0; url=pdf.js-hypothes.is/viewer/web/viewer.html?file=<?php echo htmlspecialchars ( $ _GET ["file " ]) ?> " />
44</head>
55<body>
66</body>
Original file line number Diff line number Diff line change 88 <body style="margin:0px; padding:0px">
99
1010 <div id="visualization"></div>
11- <script type="text/javascript" src="data-config_<?php echo $ _GET ['service ' ] ?> .js"></script>
11+ <script type="text/javascript" src="data-config_<?php echo htmlspecialchars ( $ _GET ['service ' ]) ?> .js"></script>
1212 <script src="../../../../js/search_options.js"></script>
1313 <script>
1414 data_config.files = [{
1818 data_config.server_url = window.location.href.replace(/[^/]*$/, '') + "../../";
1919 data_config.show_context = true;
2020 data_config.create_title_from_context= true;
21- data_config.options = options_<?php echo $ _GET ['service ' ]; ?> .dropdowns;
21+ data_config.options = options_<?php echo htmlspecialchars ( $ _GET ['service ' ]) ; ?> .dropdowns;
2222 if (<?php echo json_encode ($ _GET ['service ' ]) ?> === "linkedcat" ||
2323 <?php echo json_encode ($ _GET ['service ' ]) ?> === "linkedcat_authorview" ||
2424 <?php echo json_encode ($ _GET ['service ' ]) ?> === "linkedcat_browseview") {
You can’t perform that action at this time.
0 commit comments