Ticket #20014 (confirmed Bug)
TinyMCE external link check needs trailing /
Reported by: | chrisdeckard | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Unknown | Version: | 4.3 |
Keywords: | TinyMCE | Cc: |
Description
We run a multiple infrastructure web platform and we're beginning to integrate Plone 4.3 for one of the sites. We have URLs such as:
domain.com/Beta domain.com/BetaApp
The site hosted at /Beta is Plone, /BetaApp is outside of Plone. If we try to make external links to /BetaApp it works the first time when you save it. But if you go back to edit the link again, it checks it as an internal link, not the external link as it should be.
In this case, portal_url is "domain.com/Beta". For TinyMCE 1.3.7, in Products/TinyMCE/skins/tinymce/plugins/plonebrowser/js/plonebrowser.js, we added a trailing '/' to the portal_url that it is checking so that it doesn't also catch links to things "domain.com/BetaApp".
I know this is likely a strange occurrence, but we spent a ton of time debugging this. Is this a valid bug to be fixed?
Marking ticket as confirmed to get it out of the pile o' spam