From: nathanlyle at upwebmaestro dot com Operating system: Linux 2.4.26-ow1 #2 SMP PHP version: 4.4.0 PHP Bug Type: Unknown/Other Function Bug description: Form data is being misinterpreted upon submission, "url" in word "curl" - error
Description: ------------ (I apologize for the lack of technical detail) A simple form, submitting to the same page that the form is on, is seeing the "url" in the word "curl" and causing an error. Something is attempting to operate on the "url". It's a basic text field, and I'm not able to manipulate it with any PHP string commands to avoid the problem. Reproduce code: --------------- print "<form method=\"post\" action=\"commentary.php\">"; print "<textarea name=\"actualText\" rows=\"10\" cols=\"70\"></textarea></td>"; print "<input type=\"submit\" value=\"Save\" />"; print "</form>"; (There's more code to the page, but the value of "curl" followed by a space "curl " causes the error and doesn't allow any other code to be run. Expected result: ---------------- Textfield value added to database, and a "success" message should be displayed. Actual result: -------------- Forbidden You don't have permission to access /admin/commentary.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.33 Server at www.progressivedailybeacon.com Port 80 (The script is in a passworded directory, that has already been logged into by this point.) -- Edit bug report at http://bugs.php.net/?id=34207&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34207&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34207&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34207&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34207&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34207&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34207&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34207&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34207&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34207&r=support Expected behavior: http://bugs.php.net/fix.php?id=34207&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34207&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34207&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34207&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34207&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34207&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34207&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34207&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34207&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34207&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34207&r=mysqlcfg
