Project

General

Profile

Actions

Bug #59655

closed

Fatal JS Error in elementBrowser with %

Added by Rémy DANIEL almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-06-18
Due date:
% Done:

100%

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

Description

TYPO3 6.2.3

When I select an item from the element browser (or from the autocomplete wizard), and if the item contains a % (percent), I get a JS error :

URIError: malformed URI sequence

The error happens in typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js at the line 131.
I really don't know why decodeURI is used here...

So I reworked the part where the option is created and inserted in the DOM, so that we can get rid of decodeURI.

I will submit a review soon.

Actions

Also available in: Atom PDF