Project

General

Profile

Actions

Bug #20655

closed

Mailform: Message in javascript-Alertbox corrupt

Added by Jochen almost 15 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2009-06-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #16164: Old Gremlin: Mail Form validation: solution of wrong Russian chars in JS pop-upClosedFrancois Suter2006-05-21

Actions
Actions #1

Updated by Christian Kuhn almost 15 years ago

This issue should be solved with #16164 that was committed to trunk in revision 5535.

I'm pretty sure this is fixed and now close this issue as duplicate of #16164 . Please reopen if I missed the point, or if the issue still exists in 4.3 (not fixed for 4.2!).

Actions

Also available in: Atom PDF