H
H
hulkinvincible2016-04-07 23:46:45
Apache HTTP Server
hulkinvincible, 2016-04-07 23:46:45

Why does http 403 forbidden occur when submitting a form?

When submitting a form, the server returns an error 403. We managed to find out more precisely under what circumstances it occurs, namely, when sending text in any of the fields that begins with "http:/". It is the text that begins just like that. I ask those who know to explain the cause of the problem. Apache/2.2.15 (CentOS)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Great274, 2016-04-08
@Great274

If the method is GET then try to encode the request with the function escape($('input[type="text"]').val());

P
Pavel Selivanov, 2016-04-08
@selivanov_pavel

The reason is that the web application behind the server handles data in this way. Maybe it's just crooked, maybe there is a built-in WAF.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question