Project

General

Profile

Actions

Bug #54304

closed

Missing encoding in flexforms IRRE javascript

Added by Alexey Gafiulov over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-12-10
Due date:
% Done:

100%

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

Description

AJAX IRRE requests are sending context property. This property is json-encoded string, which could contain special chars.
Parameters set for AJAX request is not properly encoded, which is causing failure during verification.

Bug is in function jsfunc.inline.js, method "makeAjaxCall".

urlParams += '&ajax[context]=' + Object.toJSON(context)

should be

urlParams += '&ajax[context]=' + encodeURIComponent(Object.toJSON(context));

Actions

Also available in: Atom PDF