You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#111331 Link to a file with a long name does not work

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Monday, 27 June 2022 19:43 BST

woidl
Joomla 4.1.3 / JCE pro 2.9.27 https://www.vst.at/de/sportanlagen/eishalle-voelkermarkt Hi, when I am logged in as Superuser I can put a link on a text to a pdf which has a long name: VST_COVID-19_Regelungen_und_Maßnahmen_für_Publikumslauf_15.09.20.pdf ...no problem. Just noticed that when I am logged in as Administrator in backend the making the same link is not working. Example using a text: "THIS IS A LINK" When saving the article.... Result in Editor:

a href="https://www.joomlacontenteditor.net/images/vst/downloads/VST_COVID-19_Regelungen_und_Maßnahmen_für_Publikumslauf_15.09.20.pdf">"HIS IS A LINK
Result in the Sourcecode:

a href="https://www.joomlacontenteditor.net/images/vst/downloads/VST_COVID-19_Regelungen_und_Maßnahmen_für_Publikumslauf_15.09.20.pdf">"HIS IS A LINK

--> I reduced the chars of the name of the pdf and now it works also as Administrator: "COVID-19_Regelungen_Publikumslauf_15.09.2020.pdf" Is there really a difference between working on an article as Superuser or Administrator? Are there different limitations of the length of a file? In JCE Administration both user groups work with the same default JCE profile. So I have no idea why the results are different. thanks

Ryan
Is the link the same in the source code if you are Super User or Administrator?

Where exactly are you seeing the difference?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

woidl
It does not matter what article - tried different ones.

Example:
https://www.vst.at/de/sportanlagen/rudersportzentrum

I made 2 Links:
AAAAA links to a pdf
BBBBBB links to a pdf with longer name


The links are correct in the source code as long as article is saved as Superuser.

You see what happens when the article with correct links and code is saved by an Administrator account:

The < and the </a> gets lost and the result is weird text instead of the Link.

See also the screenshot of the sourcecode.

Attachments

Ryan
You see what happens when the article with correct links and code is saved by an Administrator account:

The < and the gets lost and the result is weird text instead of the Link.


It sounds like the Joomla Text Filter settings for the Administrator are set to No HTML, so the <a> tag is being removed when you save.

In the Joomla Global Configuration, click on Text Filters, then set the Filtertype to Default Blacklist for the Administrator group.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.