Project

General

Profile

Actions

Bug #18673

closed

Shortcut ends in parse_url-error

Added by Steffen Kamper over 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-04-22
Due date:
% Done:

0%

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

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)


Files

8205_urldecode.diff (550 Bytes) 8205_urldecode.diff Administrator Admin, 2008-04-22 23:34
template.diff (594 Bytes) template.diff Administrator Admin, 2008-06-14 15:16
8205_parse_url.diff (1.93 KB) 8205_parse_url.diff Administrator Admin, 2008-06-14 20:08
8205_shortcut.diff (1.35 KB) 8205_shortcut.diff Administrator Admin, 2008-06-15 18:23
8205_shortcut3.diff (14.4 KB) 8205_shortcut3.diff Administrator Admin, 2008-10-31 10:38
8205_shortcut4.diff (14.2 KB) 8205_shortcut4.diff Administrator Admin, 2008-10-31 19:14
8205_shortcut4_4.2.diff (15.2 KB) 8205_shortcut4_4.2.diff Administrator Admin, 2008-10-31 19:14
8205_shortcut4_latest.diff (15.1 KB) 8205_shortcut4_latest.diff Administrator Admin, 2008-11-04 23:56
shortcut.png (24.4 KB) shortcut.png Administrator Admin, 2008-11-04 23:56
8205_shortcut5.diff (16.4 KB) 8205_shortcut5.diff Administrator Admin, 2008-11-05 01:10

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #18963: File upload ends up in parse_url-ErrorClosedSteffen Kamper2008-06-15

Actions
Has duplicate TYPO3 Core - Bug #18649: Shortcut icon is not shown as non admin userClosedHelmut Hummel2008-04-20

Actions
Actions

Also available in: Atom PDF