Bug #19388
closedRTE changes external links using subdomains
0%
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)
Updated by Steffen Kamper about 16 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
Updated by Stanislas Rolland about 16 years ago
Please test patch attached to issue #9375.
Updated by Steffen Kamper about 16 years ago
Hi Stan,
i applied this patch, removed temp. js-files and tested again.
Unfortunally it doesn't solves this issue.
Updated by Stanislas Rolland about 16 years ago
Delete all files in folder typo3temp/rtehtmlarea and clear the Firefox cache.
Updated by Steffen Kamper about 16 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!
Updated by Stanislas Rolland about 16 years ago
Yes, I am not sure, but I think there is a bug in Firefox caching.
Thanks for testing.
Updated by Stanislas Rolland about 16 years ago
Committed to SVN TYPO3core trunk (revision 4260).
Updated by Dmitry Dulepov about 16 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.
Updated by Dmitry Dulepov about 16 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.