Jump to content

[PS 1.7.7.5] 404 NOT FOUND when POST with inline css/special chars


PrestashopLearner

Recommended Posts

If I try to add/update a product, CMS Page, any entity and I use inline CSS or some special chars in the tinymce editor's "code source" I get 404 Not Found. Otherwise, business as usual.

Enabling Debug Mode is not showing anything helpful.

The only errors I get are the Not Found seen in Network tab and some JSON parsing error:

 

image.png.4d1ea31c92360b46b19965dea247f4d6.png

 

If someone recognizes the issue or has an idea about a potential originating cause, I would appreciate.

Link to comment
Share on other sites

36 minutes ago, SmartDataSoft said:

@PrestashopLearner

Can you post your code what you put inside the editor. It is better not to add any js or css code in cms page , you can add that in custom.css or  using any module like 

 

Thank you

Thank you for your answer.

This would be an example:

<p style="color:black;"> test </p>

Inserting this in PS's tinymce editor would give me an 404 from the ajax POST. 

If I remove the style attribute I would receive a 200, success.

I compared the requests side by side, no difference (other than "style='color:black;'" from the product description field, of course).

I'm thinking this could be a server related issue?

Edited by PrestashopLearner (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...