Failed to submit Url in Form field

There is a problem before submitting a simple HTML form. Here is the form:

<form name="form1" method="post" action="dest.php"> <input type="hidden" name="my_url" value="http://www.livrotek.com/book_image/thumb/12726851341.jpg" /> </form> 

When I submit this form, I get an apache error: You do not have permission to access dest.php on this server.

If I change the value of the "my_url" field to any value other than the URL, then it works fine.

0
source share
1 answer

Try URL encoding of the value .. May be related to security:

http://www.webtoolkit.info/javascript-url-decode-encode.html

0
source

Source: https://habr.com/ru/post/1316121/


All Articles