Project

General

Profile

Actions

Bug #69545

closed

Typo3 6.2 Faulty links in RTE

Added by Peter Dexheimer about 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2015-09-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello,
if I set an internal link in RTE, it is displayed correctly on the realurl.

But if I add rel="nofollow" it shows only ....de/index.php?id=8043 (e.g.).
If I take the rel="nofollow" away, the realurl is back again.

I'M using the rel="nofollow" in the RTE through "Insert Link" -> "page" -> "relationship".

regards
Peter

I'm using 6.2.12


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #68041: Internal Links in RTE and rel="nofollow" don't output well-formed URLsClosed2015-07-10

Actions
Related to TYPO3 Core - Feature #34288: Typolink should allow rel attributeClosed2012-02-26

Actions
Related to TYPO3 Core - Feature #75165: Extend linkhandling with optinal rel="..." attributesClosed2016-03-17

Actions
Actions #1

Updated by Riccardo De Contardi about 9 years ago

I have not found "Insert Link" -> "page" -> "relationship", but I added the attribute rel="nofollow" to the link using the source code icon in RTE.

this is my procedure:

1) create a link in the RTE. looking at the code saved in RTE:

<a href="http://typo3.62.development.it:8888/?id=6">lorem ipsum</a>

2) in the frontend the link becomes:

<a href="index.php?id=6">lorem ipsum</a>

which is fully handled by RealUrl.

3) but, adding the rel="nofollow" this way:

<a href="http://typo3.62.development.it:8888/?id=6" rel="nofollow">lorem ipsum</a>

after saving it, the code becomes:

<a href="http://typo3.62.development.it:8888/?id=6" rel="nofollow" rtekeep="1">lorem ipsum</a>

so a rtekeep="1" is added. In the frontend the link becomes:

<a href="?id=6" rel="nofollow">lorem ipsum</a>

tested with both 6.2.15 and 7.5-dev (latest master).

I think this is the reason why RealUrl can't process it....I guess it is a standard behavior of RTE for manually created anchors (adding the rel attribute made RTE think that it was a manual anchor, I guess)

Actions #2

Updated by Riccardo De Contardi about 9 years ago

I also tried (6.2.15) using the TSConfig of #68041 :

RTE.default.buttons.link.relAttribute.enabled = 1

and the behavior is the same reported on my previous comment
Actions #3

Updated by Riccardo De Contardi over 7 years ago

I just performed a test with 8.7.0 and the latest version of RealUrl and CKEditor.

I manually added the rel="nofollow" attribute to a link inside the RTE; the result is that the attribute is kept and RealUrl works

Actions #4

Updated by Riccardo De Contardi over 7 years ago

  • Status changed from New to Closed

we are sorry, but we close this issue as now TYPO3 uses CKEditor where the issue is not reproducible and RTEHtmlarea development has been stopped.
RTEHtmlarea has been decoupled from the core and its code is available on GitHub:
https://github.com/FriendsOfTYPO3/rtehtmlarea

If you still need this fixed please create a PR on GitHub
Actions

Also available in: Atom PDF