|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3282 | block | always | 01-18-09 14:41 | 01-26-09 22:59 | |
|
|
|||||
| Reporter: | koreth | Platform: | |||
| Assigned To: | nam | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.0 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|
|||||
| Summary: | 0003282: CURLOPT_POSTFIELDS doesn't handle file uploads | ||||
| Description: |
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://www.apple.com/"); [^] curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, array('a' => '@/etc/passwd')); $result = curl_exec($ch); curl_close($ch); PHP sends a multipart request with the contents of /etc/passwd in a MIME part named "a". Quercus sends POST data of "a=@/etc/passwd". |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||