Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2272 | block | always | 12-21-07 18:43 | 01-24-08 12:34 | |
|
|||||
Reporter: | rvt | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.3 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.5 | ||
|
|||||
Summary: | 0002272: X/Y location of pressed area on form type image is incorrectly passed to the _POST variable | ||||
Description: |
Wen using this input form type : <input type="image" src="image.gif" name="sub" /> We should get in the $_POST variable the following coordinates: $x = $_POST['sub_x']; $y = $_POST['sub_y']; However in quercus they are retreived as (according to W3C correctly): $x = $_POST['sub.x']; $y = $_POST['sub.y']; So basically Quercus does it correctly, and PHP does internally convert the . to an _. The proper solution would be to convert the . to an _ on incoming form variables. Ries thanks, Ries |
||||
Steps To Reproduce: | |||||
Additional Information: |
According to : W3C http://www.w3.org/TR/html4/interact/forms.html [^] According to PHP: http://www.php.net/variables.external [^] (section IMAGE SUBMIT variable names) |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|