Project

General

Profile

Actions

Bug #20706

closed

Russian chars in the comments are encoded wrong when changing the stage of an element

Added by Marco Huber almost 15 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Category:
Workspaces
Target version:
-
Start date:
2009-07-01
Due date:
% Done:

0%

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

Description

In the Versioning-Modul:
When you change the stage for an element, for example sending it to the reviewer, a javascript popup box opens where you can enter a comment. When you enter russian chars they aren't stored correct. This is because the comment is sended through the javascript function escape().
The better way is to send it through encodeURI(), or perhaps through encodeURIComponent().
So you have to replace the string escape(commentTxt) with encodeURI(commentTxt) in the file typo3/sysext/version/cm1/index.php. You'll find it three times in this files.
Perhaps there are some more files where you have to replace it. Until now I only found this one.
It would be nice if this little change would find its way to the next TYPO3-Versions... ;-)

(issue imported from #M11458)


Files

11458.diff (1.74 KB) 11458.diff Administrator Admin, 2009-07-15 17:04
ver_escape.png (30.4 KB) ver_escape.png Administrator Admin, 2009-07-15 17:04

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #21002: message to reviewer has troubles with umlautsClosedRupert Germann2009-09-05

Actions
Actions

Also available in: Atom PDF