This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I can insert text, markdown and {% %} but as soon as an html tag
es. a div
is in the editor (page, layout, content, partial is the same) the save button wont give the green alert (just stops spinning after a while) and nothing is saved.
Last updated
Same here! Everything works except the tag. I get a modal with the code of the 403 page. If I check the network tab in Chrome, I get a 403 error.
This is the data that is sent : fileName:test3.htm settings[description]:main theme markup:
code: formWidgetAlias:formLayoutb64ef766d9dbd4d2558a77549039b3ad5761f8bc51c54 templateType:layout templatePath:test3.htm theme:demo templateMtime:1465837630 templateForceSave:0
I also have the problem when using inline css : style="background-image: url(storage\photo-1419041082630-1e98debd0a6a.jpg)"
Yes it's in a normal div tag. I tested more and it seems to only be a problem with certain CSS attributes or HTML tags. I tried in Chrome, Edge and Firefox and they all had the same problem.
Here is a link with the picture of what works and what fails : !(https://1drv.ms/f/s!AohbiZbX_aR5l-8QPCurT3kA1Pn-8g)[https://1drv.ms/f/s!AohbiZbX_aR5l-8QPCurT3kA1Pn-8g]
This works :
<div>
Hello World!
<div>
<div style="color: #fff">
Hello World!
<div>
<div style="background-color: #fff">
Hello World!
<div>
<div style="color: #fff">
Hello World!
<div>
<!-- Notice the missing "b" in the next exemple -->
<div style="ackground-image: url(test/test.png)">
Hello World!
<div>
But this doesn't work (save) :
<div style="background-image: url(test/test.png)">
Hello World!
<div>
<div style="background-image: test">
Hello World!
<div>
<html>
<html>
Last updated
Another precision: I transferred the website on my local machine (Windows) and it works perfectly! The problem seems to only be on my server (shared host - https://funio.com/en/).
loicbellemare16703 said: Another precision: I transferred the website on my local machine (Windows) and it works perfectly! The problem seems to only be on my server (shared host - https://funio.com/en/).
"403 forbidden" on a shared host is usually sign of too restrictive ModSecurity rules. Talk to your host...
1-8 of 8