Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Saving rich text/html with a wysiwyg via ajax no longer working

Discussion in 'General Discussion' started by Daniel C, Feb 28, 2019.

  1. Daniel C

    Daniel C Registered

    Joined:
    Feb 28, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ogilvie, MN
    cPanel Access Level:
    Root Administrator
    After I updated to 78.0.13, suddenly I am not able to save any data with html (and particularly quotes) using ajax.

    My CMS utilizes CKEditor 4 along with jquery and bootstrap 4. I currently host about 20 websites, most of them using this CMS.

    After the update, I started getting complaints that users are not able to update their sites. I looked further into it and sure enough, any content typed into the wysiwyg editor which utilizes quotes (attributes, classes, etc.) fails to go from the ajax request to the processor script. I am able to log the raw html data before it gets to ajax, but when I try to display it in the console on success, all that's displayed is the html for my entire website's homepage. The worst part: no errors in the log, the console, or on the screen. I added an error check to the ajax script but none show up.

    Was there some security enhancement like "magic quotes" that was brought back in this update? I'm using Php 7.2 and last I checked there isn't any sort of feature.

    Any thoughts?
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    507
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Daniel C


    Is anything of note output in the apache error log or PHP error logs when attempting to use the editor?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice