View Single Post
  #5 (permalink)  
Old 19-12-2008, 13:15
MattHawkins MattHawkins is offline
Junior Member
 
Join Date: Jul 2007
Location: UK
Posts: 23
Thumbs up

I've submitted a ticket.

Quote:
<html>
<body>
<?php

//
// Test Form to submit URL text
//
echo " <!-- Form to add new link -->\n";
echo " <form name=\"test_form\" method=\"post\" action=\"test_form.php\">\n";
echo " <fieldset>\n";
echo " <legend>Test Form</legend>";

echo " <table>\n";
echo " <tr><td>Name</td><td><input type=\"text\" name=\"ilink_name\" size=\"80\" maxlength=\"80\" value=\"Website Name\" /></td></tr>\n";
echo " <tr><td>URL</td><td><input type=\"text\" name=\"ilink_url\" size=\"80\" maxlength=\"255\" value=\"enter url\" /></td></tr>\n";
echo " </table>\n";

echo " <input type=\"submit\" name=\"isubmit\" value=\"Add New\" />\n";
echo " </fieldset>\n";
echo " </form>\n";

?>

</body>
</html>
This simple PHP script demos the issue.

The script works if you enter "www.google.com" but throws a 403 error if you enter "http://www.google.com"

It appears to actually be the "http:/" at the start that causes the problem.

I'll wait for the support ticket response. It's not a critical issue and I can rework the code if required.

Just thought I'd post this info for other users who may search for it in the future.

Matt
Reply With Quote