mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
fix for not loading certain characters correctly in editor file paths
This commit is contained in:
parent
dee9128cb3
commit
208950df55
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@
|
|||
|
||||
$(document).ready(function() {
|
||||
$.ajax({
|
||||
url: "/site_files/download/<%= Addressable::URI.parse(@filename).normalized_path.to_s %>",
|
||||
url: "/site_files/download/<%= Rack::Utils.escape(@filename) %>",
|
||||
cache: false,
|
||||
success: function(resp) {
|
||||
editor = ace.edit("editor")
|
||||
|
|
Loading…
Add table
Reference in a new issue