fix(#790): escape file URL in ofd.ftl with ?js_string to prevent SyntaxError on apostrophe

This commit is contained in:
wylovely
2026-09-22 09:13:30 +08:00
parent 29ec82554e
commit e8f1fff879

View File

@@ -17,7 +17,7 @@
<iframe src="" width="100%" frameborder="0"></iframe>
</body>
<script type="text/javascript">
var url = '${finalUrl}';
var url = '${finalUrl?js_string}';
var kkagent = '${kkagent}';
var baseUrl = '${baseUrl}'.endsWith('/') ? '${baseUrl}' : '${baseUrl}' + '/';