Error 403 depending on the situation

Asked

Viewed 117 times

0

I have a page where I post and edit materia post.php, I use the editor in the content part, but the following is happening: when I insert a code <iframe scr="yotube.bla.bla.bla" ... </iframe> after the Submit it goes to the page:

You don’t have permission to access post_envia.php on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an Errordocument to Handle the request. Protected by COMODO WAF Server at site.com.br Port 80

The interesting thing is if I don’t put iframe, it’s successfully concluded, some light on what might be ?

I tried already, $conteudo = htmlspecialchars($_POST['conteudo']), however unsuccessfully

  • Error 403 is permission error. You are probably using a page iframe that needs authentication on a page on a different domain.

  • in case I’m only using the normal youtube iframe code

  • Now that I noticed. You are using COMODO WAF. It blocks certain things. You need to add a rule to allow the post with the iframe tag by the way

  • highlighting the problem and the iframe

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.