#20655Mailform: Message in javascript-Alertbox corrupt
Description
In the javascript alertbox that is shown when mandatory fields are not filled in, the labels of the fields are listed.
They are badly encoded, language specific non-ascii chars (eg. german öää) are corrupt.
In the file
t3lib/jsfunc.validateform.js
replace
unescape => decodeURIComponent
and never ever use unescape to decode urls/components again. This is the wrong function for that purpose.
As there may be html code in, a striptags and/or translate entities might be useful as well.
(issue imported from #M11385)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.