Issue Bug Closed

#39284link wizard url encoding bug on update

Jari no-lastname-given 07/26/12, 11:15 updated 10/02/18, 12:17

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

Reviews 0

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

Files 1

History 6

  1. Jari no-lastname-given changed attached typo3_linkwizard_bug.jpg 07/26/12, 11:16

  2. Andreas Kießling commented 08/15/12, 15:54

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

  3. Ivan Ruiz Gallego commented 06/11/13, 15:52

    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.

  4. Richard no-lastname-given commented 08/18/13, 14:15

    I can also confirm this for TYPO3 4.5.29

  5. Tymoteusz Motylewski commented and changed status New Resolved Is Regression 0 01/09/15, 21:03

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

  6. Benni Mack changed status Resolved Closed 10/02/18, 12:17