Project

General

Profile

Actions

Bug #80986

closed

LinkService does not recognize old RTE links with id= format

Added by Markus Klein over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Site Handling, Site Sets & Routing
Target version:
Start date:
2017-04-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

Hence the link upgrader fails during 8.7 upgrade.

#1320286857: File ../?id=618 is not valid (".." and "//" is not allowed in path). 

example link:

<link ../?id=618 - internal-link "Opens internal link in current window"><img src="fileadmin/_migrated/RTE/RTEmagicC_5948ab6911.gif.gif" data-htmlarea-file-uid="425" data-htmlarea-file-table="sys_file" height="10" width="14" alt="" />Termine</link>
Actions #1

Updated by Gerrit Code Review over 7 years ago

  • Status changed from Accepted to Under Review

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52567

Actions #2

Updated by Markus Klein over 7 years ago

  • Description updated (diff)
  • Status changed from Under Review to Accepted
Actions #3

Updated by Markus Klein over 7 years ago

  • Status changed from Accepted to Under Review
Actions #4

Updated by Gerrit Code Review over 7 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52567

Actions #5

Updated by Gerrit Code Review over 7 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52618

Actions #6

Updated by Markus Klein over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Gerrit Code Review over 7 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52666

Actions #8

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52666

Actions #9

Updated by Gerrit Code Review over 7 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52666

Actions #10

Updated by Gerrit Code Review over 7 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52673

Actions #11

Updated by Christer V over 7 years ago

  • Status changed from Under Review to Resolved
Actions #12

Updated by Christian Stern over 7 years ago

Markus Klein wrote:

Hence the link upgrader fails during 8.7 upgrade.

[...]

example link:

[...]

Will this also deal with direct links to files? I just run into this issue caused by links like this: ../fileadmin/x/y/file.txt

A small workaround that helped me was to update those links directly via sql. I assume no liability for the fact that it works.

UPDATE tt_content
SET bodytext = REPLACE
WHERE bodytext LIKE ('%<link ../?id=%')

UPDATE tt_content
SET bodytext = REPLACE
WHERE bodytext LIKE ('%<link ../%')

Actions #13

Updated by Markus Klein over 7 years ago

No, this is just for page links and not for such direct file links.

If you experience problems with those, please create a dedicated ticket and also explain, how those links might have found their way into the DB. Eg. additional extensions and so on.

Actions #14

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF