⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

CKEditor Link Corruption



mikeh
  • profile picture
  • Member

Posted 06 March 2013 - 09:36 AM

I am using the CKEditor in 'minimal' mode to maintain the text fields in our application.

This works well until we enter a particular type of URL in the Link Dialog.

e.g.

https://confluence.forge.cust.com/download/attachments/49972021/MobileUser-Config-HowTo-Mar-5-2013.pdf?version=1&modificationDate=1362478967433

I added a debug statement in the 'grocery_crud.php db_update' and it prints out the following.

DEBUG - 2013-03-06 14:58:27 --> Value of field :=<p>
 action reqd</p>
<p>
 <a href="https://confluence.forge.cust.com/download/attachments/49972021/MobileUser-Config-HowTo-Mar-5-2013.pdf?versi>https://confluence.forge.cust.com/download/attachments/49972021/MobileUser-Config-HowTo-Mar-5-2013.pdf?versi></p>

So something is cutting the text after '.pdf?versi' and we lose the terminating '"' from the URL.

What get's put into the database for this field is

'<p>
 action reqd</p>
<p>
 <a href="https://confluence.forge.cust.com/download/attachments/49972021/MobileUser-Config-HowTo-Mar-5-2013.pdf?versi>https://confluence.forge.cust.com/download/attachments/49972021/MobileUser-Config-HowTo-Mar-5-2013.pdf?versi></p>
'

Any ideas on what component might do this?