Actions
Bug #19464
closedReturn URL: Double Encoded characters cause server error
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-10-16
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
On our RedHat server, double encoded characters in the return url cause a server error 500.
The forward slash character / can be encoded like this: %2F (HEX encode)
But it can also be encoded like this: %252F (Double encode)
The latter is used in TYPO3 return urls, but causes the above server error. It works when using the HEX encoded characters.
URL like this doesn't work:
...&returnUrl=http%3A%2F%2F ... file_list.php?id=%252Fvar%252Fwww%252F...
This URL works:
...&returnUrl=http%3A%2F%2F ... file_list.php?id=%2Fvar%2Fwww%2F...
From what I was reading, there are security issues with this encoding method, which might be the reason that it's disabled on some servers.
(issue imported from #M9572)
Actions