| Anonymous | Login | Signup for a new account | 11-03-2025 20:13 PST | 
| Main | My View | View Issues | Change Log | Docs | 
| 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 | |||||||||
| 
 | 
|||||||||
		 
		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  | 
| 	Mantis 1.0.0rc3[^]
	Copyright © 2000 - 2005 Mantis Group
	33 total queries executed. 28 unique queries executed.  |