mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +00:00
[repo] use escapejs instead of safe
This commit is contained in:
@@ -1392,7 +1392,7 @@ function sortDirent() {
|
||||
|
||||
var loading_icon = '<img src="{{MEDIA_URL}}img/loading-icon.gif" alt="" class="vam" />';
|
||||
// cur_path: will be updated after reqDirdata
|
||||
var cur_path = "{{ path|safe }}"; {# safe is for ''', '&' included in path #}
|
||||
var cur_path = "{{ path|escapejs}}";
|
||||
|
||||
// '.dir-link' click handler
|
||||
function dirlinkClick() {
|
||||
|
Reference in New Issue
Block a user