httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48022] New: Get in form does not handle variables
Date Sun, 18 Oct 2009 21:46:56 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48022

           Summary: Get in form does not handle variables
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ian.hobson@ntlworld.com


I have a search box in a form that is submitted by 

<form accept-charset="UTF-8" method="get" id="searchtop"
action="/list/customer/0/post/">

The search box is submitted and available to php using nginx, but not with
Apache2. The exact version is Apache/2.2.11 (Win32) DAV/2 PHP/5.2.9-2 SVN/1.6.2 

The standard appears to permit method="get" in a form and it would be daft 
if fields appear correctly in the browser, are sent the the server, and then
dropped by some, but not all servers. 

I do have strange rewrite rules, which are below, just in case these contribute
to the problem. the aim is to serve images and ,css directly, pass test.php to
php, and process the rest with index.php. It is, of course, index.php that is
not receiving the variable. 

RewriteEngine On
RewriteRule ^(/images/.*\.(png|gif|jpg))$  $1 [L]
RewriteRule ^(/.*\.css)$   $1  [L]
RewriteRule ^/test\.php$  /test.php [PT]
RewriteRule ^(.*)$ /index.php?$1      [PT]

Thanks

Ian

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message