Broken filelinker links when using TinyMCE via https?
Posted: Fri Dec 10, 2010 1:28 am
We have a new site, running on CMSMS 1.8.2 - It has been brought to my attention that when Admin users, logged in to Admin via SSL, use TinyMCE filelinker to link to a file, it generates what appears to be a truncated link. When doing so outside of SSL, it generates a proper link just fine. Also, it does not do this for inserted images - the paths generated for these are just fine. Any clue how to fix it for making links? Is there a setting somewhere to adjust TinyMCE in this matter?
Examples:
When Logged in via https://www.mysite.com/admin/
The file path generated by TinyMCE's filelinker, is: "s/myfile.pdf"
When logged in via http://www.mysite.com/admin/
The file path generated by TinyMCE's filelinker, is: "uploads/myfile.pdf"
The latter is, of course, correct ...but how can we make it work when under ssl??
FYI - I've tried setting TinyMCE to use non-relative links ...but the result is the same. It does this:
"http://www.mysite.com/s/myfile.pdf" , rather than: "http://www.mysite.com/uploads/myfile.pdf"
Examples:
When Logged in via https://www.mysite.com/admin/
The file path generated by TinyMCE's filelinker, is: "s/myfile.pdf"
When logged in via http://www.mysite.com/admin/
The file path generated by TinyMCE's filelinker, is: "uploads/myfile.pdf"
The latter is, of course, correct ...but how can we make it work when under ssl??
FYI - I've tried setting TinyMCE to use non-relative links ...but the result is the same. It does this:
"http://www.mysite.com/s/myfile.pdf" , rather than: "http://www.mysite.com/uploads/myfile.pdf"