Issue Bug Closed

#18673Shortcut ends in parse_url-error

Steffen Kamper 04/22/08, 23:33 updated 10/02/18, 12:30

Description

When you call page properties from clickmenu and then create a shortcut it ends up in a parse_url-error. The shortcut is saved wrong and BE is unusable until deleting this shortcut from DB table.

Reason for this is a urldecode on url in following line:
$url = urldecode(t3lib_div::_POST(‘url’));

Having something in url like
returnUrl%3Dhttp%253A%252F%252Flocalhost%252Ft3%252Ftrunk%252Ftypo3%252Falt_doc.php%253Fedit%255Bpages%255
the urldecoded part of returnUrl produces errors.

removing the urldecode fixes the problem.

(issue imported from #M8205)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.