Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003282 [Quercus] block always 01-18-09 14:41 01-26-09 22:59
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product 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".
Additional Information
Attached Files

- Relationships

- Notes
(0003770)
nam
01-21-09 21:12

php/5044
 
(0003771)
nam
01-21-09 21:17

not sure if quercus is sending the correct type of request
 
(0003780)
nam
01-26-09 22:59

php/5044
php/5045
 

- Issue History
Date Modified Username Field Change
01-18-09 14:41 koreth New Issue
01-21-09 16:09 nam Status new => assigned
01-21-09 16:09 nam Assigned To  => nam
01-21-09 21:12 nam Status assigned => closed
01-21-09 21:12 nam Note Added: 0003770
01-21-09 21:12 nam Resolution open => fixed
01-21-09 21:12 nam Fixed in Version  => 4.0.0
01-21-09 21:17 nam Note Added: 0003771
01-21-09 21:17 nam Status closed => assigned
01-26-09 22:59 nam Status assigned => closed
01-26-09 22:59 nam Note Added: 0003780


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker