Project

General

Profile

Actions

Bug #19388

closed

RTE changes external links using subdomains

Added by Steffen Kamper over 15 years ago. Updated over 5 years ago.

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

0%

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

Description

when i use a subdomain as external link using the link browser RTE
domain is changed from:
http://sub.domain.com/
to
http://localhost/t3/typo3/http://sub.domain.com/

which is obvious wrong

(issue imported from #M9445)


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Feature #19349: add DTD to empty "template" documentClosedStanislas Rolland2008-09-17

Actions
Related to TYPO3 Core - Bug #19396: RTE incorrectly modifies external links and causes problems with subdomainsClosedStanislas Rolland2008-09-30

Actions
Has duplicate TYPO3 Core - Bug #23275: RTE html Area link problemClosedStanislas Rolland2010-07-27

Actions
Actions #1

Updated by Steffen Kamper over 15 years ago

this error occurs in trunk. i have no special settings for rte.
If i change link in source view of rte it's saved correct, so the change happens in link browser

Actions #2

Updated by Stanislas Rolland over 15 years ago

Please test patch attached to issue #9375.

Actions #3

Updated by Steffen Kamper over 15 years ago

Hi Stan,

i applied this patch, removed temp. js-files and tested again.
Unfortunally it doesn't solves this issue.

Actions #4

Updated by Stanislas Rolland over 15 years ago

Delete all files in folder typo3temp/rtehtmlarea and clear the Firefox cache.

Actions #5

Updated by Steffen Kamper over 15 years ago

Hi Stan,

now 2nd time it worked :-)
I was surprised as i don't use cache in Firefox, but deleting 0-byte-cache helped (lol)

So the patch does solve the issue, thx!

Actions #6

Updated by Stanislas Rolland over 15 years ago

Yes, I am not sure, but I think there is a bug in Firefox caching.

Thanks for testing.

Actions #7

Updated by Stanislas Rolland over 15 years ago

Committed to SVN TYPO3core trunk (revision 4260).

Actions #8

Updated by Dmitry Dulepov over 15 years ago

I have the same issue in 4.2.1. The mentioned patch does not apply. I have a link to http://www.calis.lv/aprunasimies/forums/forum.php?id=15. I login from www.calis.lv and put this link as external in the article inside http://spogulis.calis.lv/ subdomain. In FE the link is changed to http://spogulis.calis.lv/aprunasimies/forums/forum.php?id=15. Obviously proper domain in the external link is replaced by the current domain.

So the issue exists in 4.2 branch as well.

Actions #9

Updated by Dmitry Dulepov over 15 years ago

I found the reason (as often, 5 minutes after reporting). The problem is that RTE removes domain portion from the external URL if that portion matches current BE domain. We log in from main domain but edit articles for subdomains. Any external link to current BE domain will be made relative and therefore it will be wrong when shown in FE. I will open another bug report about it.

Actions #10

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF