Project

General

Profile

Actions

Bug #39284

closed

link wizard url encoding bug on update

Added by Jari no-lastname-given almost 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2012-07-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

If i edit the target of an existing link inside the link wizard and click on update, the link becomes encoded, which is wrong. See attached screenshot.

I've fixed this bug by changing one line of code in typo3/class.browse_links.php

From

var cur_href="' . ($this->curUrlArray['href'] ? rawurlencode($this->curUrlArray['href']) : '') . '";

To

var cur_href=unescape("' . ($this->curUrlArray['href'] ? rawurlencode($this->curUrlArray['href']) : '') . '");

I can confirm this bug for 4.6.3 and 4.7.2


Files

typo3_linkwizard_bug.jpg (22.1 KB) typo3_linkwizard_bug.jpg Jari no-lastname-given, 2012-07-26 11:16

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #41413: link title got urlencoded in link-wizardClosed2012-09-27

Actions
Actions #2

Updated by Andreas Kiessling over 11 years ago

The same happens when selection folders with special characters in its path.
But wrapping it with unescape does not seem to fix this.

Actions #3

Updated by Ivan Ruiz Gallego almost 11 years ago

I can confirm this bug for 6.0 and 6.1. The patch above proposed bei Jari works also for 6.0 and 6.1. The file to be modified ist typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php, line 360.

Actions #4

Updated by Richard no-lastname-given over 10 years ago

I can also confirm this for TYPO3 4.5.29

Actions #5

Updated by Tymoteusz Motylewski over 9 years ago

  • Status changed from New to Resolved
  • Is Regression set to No

seems to be already solved, see https://forge.typo3.org/issues/41413

Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF