Project

General

Profile

Actions

Bug #19396

closed

RTE incorrectly modifies external links and causes problems with subdomains

Added by Dmitry Dulepov over 15 years ago. Updated over 5 years ago.

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

0%

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

Description

Scenario:
- domain (www.example.com) and subdomain (sub.example.com) in the same page tree
- editor logins in BE using www.example.com (this is important!)
- editor attempts to insert an external link to www.example.com in the article inside sub.example.com
- the link is seen in RTE HTML source properly (<a href="http://www.example.com/foo/bar/file.php?id=123&quot;&gt;)
- when CE is saved, link is transformed to <link foor/bar/file.php?id=123> (check with phpMyAdmin)
- when page is shown on the sub.example.com link becomes http://sub.example.com/foo/bar/file.php?id=123, which is a wrong non-existing URL!

The desired outcome: domain portion is not removed on save in RTE if it is present.

If editor logs in from sub.example.com, the domain part is not stripped. But it should not be stripped in any case, it is external link and it should not be touched by RTE. For certain reasons users have to login from the main domain only.

I am not sure, may be "?id=" is related here.

The problem happens in official TYPO3 4.2.1

(issue imported from #M9455)


Files

9455.diff (1.4 KB) 9455.diff Administrator Admin, 2009-07-30 15:48
9455_v2.diff (1.4 KB) 9455_v2.diff Administrator Admin, 2009-07-30 21:42
typo3core_bugfix_9455_trunk.patch (3.85 KB) typo3core_bugfix_9455_trunk.patch Administrator Admin, 2009-09-18 03:28
typo3core_bugfix_9455_trunk_v2.patch (5.04 KB) typo3core_bugfix_9455_trunk_v2.patch Administrator Admin, 2009-09-18 23:20
typo3core_bugfix_9455_4-2-8_v2.patch (4.64 KB) typo3core_bugfix_9455_4-2-8_v2.patch Administrator Admin, 2009-09-21 14:57
typo3core_bugfix_9455_4-2-8_v3.patch (7.66 KB) typo3core_bugfix_9455_4-2-8_v3.patch Administrator Admin, 2009-09-21 15:29
typo3core_bugfix_9455_typo3_4-3_v2.patch (8.15 KB) typo3core_bugfix_9455_typo3_4-3_v2.patch Administrator Admin, 2010-04-30 16:01
typo3core_bugfix_9455_typo3_4-4_v2.patch (6.68 KB) typo3core_bugfix_9455_typo3_4-4_v2.patch Administrator Admin, 2010-04-30 16:02

Related issues 5 (0 open5 closed)

Related to TYPO3 Core - Bug #19388: RTE changes external links using subdomainsClosedStanislas Rolland2008-09-29

Actions
Has duplicate TYPO3 Core - Bug #16949: Absolute links are made relative which breaks linkClosedMichael Stucki2007-02-07

Actions
Has duplicate TYPO3 Core - Bug #20535: External in multidomain environment rewritten to wrong domainClosedStanislas Rolland2009-05-31

Actions
Has duplicate TYPO3 Core - Bug #20017: Creating an absolute link in RTE sometimes gets converted to relative linksClosedStanislas Rolland2009-02-13

Actions
Has duplicate TYPO3 Core - Bug #17363: Absolute links ouside the Typo3 root directory are incorrectly savedClosedStanislas Rolland2007-06-07

Actions
Actions

Also available in: Atom PDF