When staff access our library web site to edit content, they use an internal host name:
The web site's external address is:
I've discovered that with WYSIWYG and TinyMCE, when using Internet Explorer 7 or 8, the editor forces all relative links to be absolute links and uses the host name from which the user logged in. If a user logged in at:
then all relative links are changed from /content/name-of-content-item to
http://library-web/content/name-of-content-item
The same happens with images added to the page. All image paths are changed from relative path names to absolute path names.
To the person editing content, all looks well. Images display properly and they can click through the internal links without a problem. To the visitor in the outside world, they encounter broken links and missing images as all of the references point to the internal host name. This problem only seems to affect editing done in Internet Explorer 7 and 8. When working in Google Chrome, the editor leaves the links as relative links.
I also noted this issue here:
but the problem, as others noted, extends beyond whether the Teaser Break is enabled or not.
Comments
Comment #1
twodIf you're using Image Assist to insert the images, or have it enabled at all, it's the same bug as in #495828: In TinyMCE in IE7 Relative Links Become Absolute Links if Teaser Break is Enabled. The code IA and Teaser Break use to find their placeholder tags are very similar, and that's probably what's causing this.
Even if this issue is not an exact duplicate of the above, we should focus on a fix for this general problem.
Thank you for reporting this.