Jump to content

Forum WYSIWYG Editor, problem modifying links


NAWAC
Go to solution Solved by Mark H,

Recommended Posts

I'm running Invision Community v4.6.9. When editing a link inside a post using the WYSIWYG editor, when I double-click on the link text to modify the URL of the link I get an error. Same thing happens if I just highlight the text and click the "Link" icon to modify the URL. I get the popup notification saying "There was a problem loading this content" (see below screenshot). It doesn't matter which browser I'm using or which type of device (PC or smartphone).

 

image.png.862e682259dcd4f20e189c92d3ca2b78.png

Link to comment
Share on other sites

There are two scenarios that I've seen trigger this previously;

  • mod_security blocking the request
  • Using a WAF that is intercepting/blocking the request

I would suggest start by checking if you're using a WAF first.  If so, for testing purposes disable it long enough to confirm.  If that does not do it, move onto checking mod_security.  

https://ubiq.co/tech-blog/how-to-disable-mod_security-in-apache-using-htaccess/

The above URL has some guidance on various ways of how to do this.  

Link to comment
Share on other sites

11 minutes ago, Marc Stridgen said:

Do you know how to check if there is anything showing in console at the time?

Not sure what you mean. Do you mean the javascript log?

 

11 minutes ago, Marc Stridgen said:

Have you checked your server error logs also?

No errors in log.

Edited by NAWAC
Link to comment
Share on other sites

25 minutes ago, Marc Stridgen said:

Do you know how to check if there is anything showing in console at the time?

 

Ok, I used developer mode in browser to view the errror. The XHR header response says...

 

Quote

Status: 406 Not Acceptable

Version: HTTP/2

Transferred: 394 B (226 B size)
 
Referrer Policy:  strict-origin-when-cross-origin

 

The HTML response says this...

 

Quote

Not Acceptable!

An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

 

Edited by NAWAC
Link to comment
Share on other sites

2 hours ago, Mark H said:

or determining which rules of mod_sec are being triggered, and whitelist those specific rules. 

This one resolved the issue. Since I'm on a shared hosting environment, Hostgator had to do it for me, but they did disable the specific mod_security rule causing the problem and now it's resolved.

Thanks for the help!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...