Joomla Textfilters corrupt Links in editor fields

More
1 year 2 months ago - 1 year 2 months ago #83398 by bytekultur
Since the Upgrade to Joomla 4 and FlexiContent 4, my client can't save content with links any more without the links being corrupted.
This is what she enters / what the editor creates when she enters content: 
Code:
<a href="link/to/myfile.pdf" target="_blank">Download PDF</a> <br>
This is what we see after saving
Code:
a href="link/to/myfile.pdf" target="_blank""Download PDF <br>

This is the setup to reconstruct it: 
  • User group: Administrator
  • Textfilter in global config for this user group: any, but we used the "custom blocked elements"
  • Editor: JCE Editor Pro v. 2.9.33
  • Joomla: 4.2.6
  • Flexicontent: 4.1.3 and then also with 4.1.5 (no difference after the update)
  • Browser/OS: Windows with Edge Browser, but it behaves the same in all browsers (server side issue)
To see the issue, you need to reload after saving, at first it looks fine (the content in the editor seems to be cached or come from the user input, not from the latest database version). If you save and then reload the edit form, the links are corrupted.

I have tried the same with Joomla and JCE without FlexiContent and then it works.
At the moment, my workaround is to disable all Filters in global config for the admin group, which is a decrease in security in theory but at least saving is possible without issues this way.
Last edit: 1 year 2 months ago by bytekultur. Reason: more info re. testing

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #83406 by micker
its only in description field or in all text area field ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #83410 by bytekultur
I tested that. The problem appears in all textarea fields, not only in the description.
Interestingly, it happens with some texts, but not all.

for example with this one, it DOES happen:
Code:
<p>Diese Page dient dem Testen von Anpassungen im Text.<br><br><a href="images/news/2022/barox-Anmeldung-Workshop_01._und_02.03.2022_in_Großbeeren.pdf">Workshop anmeldung</a><br><a href="images/news/2022/09.-10.02.2023_Workshopanmeldung_Dresden.pdf">Noch eine Workshop Anmeldung</a></p>

and with this one it does NOT:
Code:
<p>Dieses Produk hat folgende Links (zum testen)<br><a href="images/news/2022/06.-07.07.2022_Workshopanmeldung_Wehrhan.pdf" class="wf_file">06.-07.07.2022_Workshopanmeldung_Wehrhan.pdf - noch ein test</a> <br><a href="images/news/2022/07.-08.02.2023_Workshopanmeldung_Dresden.pdf">Noch ein PDF Download - testen</a><br><br>Diesmal funktioniert es irgendwie<br><a href="images/pdf/200408_AGB_barox_AG-GmbH_Vers-4.20.pdf" target="_blank">AGB's als PDF ansehen</a> <br><br> </p>

They seem pretty similar to me.

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #83417 by micker
in all text area it can be a joomla rules did you check it ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.527 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline