Skip to content

Commit

Permalink
Try to fix XSRF warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfq committed May 20, 2024
1 parent 04ee817 commit c57b06e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions java/src/main/resources/ui/root_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<script type="text/javascript" src="jquery.timeago.js"></script>
<script type="text/javascript" src="jquery.ba-hashchange.min.js"></script>
<script type="text/javascript" src="jquery.json.min.js"></script>
<script type="text/javascript" src="lodash.4.17.15.js"></script>
<script type="text/javascript" src="common.js"></script>
<script type="text/javascript" src="list.js"></script>
<script type="text/javascript">
Expand Down
2 changes: 1 addition & 1 deletion java/src/main/resources/ui/root_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function initRootList() {
setButter('Loading root jobs...');
$.ajax({
type: 'GET',
url: 'rpc/list' + window.location.search,
url: 'rpc/list' + _.escape(window.location.search),
dataType: 'text',
error: function(request, textStatus) {
getResponseDataJson(textStatus);
Expand Down

0 comments on commit c57b06e

Please sign in to comment.