[VIVO-1404] Disable XSS protection on the SPARQL query page
This commit is contained in:
parent
f4c9d23af0
commit
0e15b9a69a
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ public class SparqlQueryController extends FreemarkerHttpServlet {
|
|||
SimplePermission.USE_SPARQL_QUERY_PAGE.ACTION)) {
|
||||
return;
|
||||
}
|
||||
resp.addHeader("X-XSS-Protection", "0");
|
||||
if (req.getParameterMap().containsKey("query")) {
|
||||
respondToQuery(req, resp);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue