https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37441

--- Comment #1 from Alexandre Noel <[email protected]> ---
The issue appears to be caused by line 493 (upload.tt): `ShowAlerts( [% msg |
html %] );` when deleting an upload, which results in an error in the console
log. This happens because the special characters in msg are transformed by the
| html filter. This filter was added for security reasons in Bug 13618.

I tried removing the `| html` filter, and the error no longer occurred,
resolving my issue.

I'm concerned that removing this filter might introduce security problems.
However, I can see that 'msg' in the Perl file is converted into JSON, and
since this is the intranet interface, it probably won't impact security. 
Let me know if that's correct.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to