Doc #66677 [NEW]: CURLOPT_SAFE_UPLOAD missing from curl_setopt docs

From: Date: Sun, 09 Feb 2014 09:58:41 +0000
Subject: Doc #66677 [NEW]: CURLOPT_SAFE_UPLOAD missing from curl_setopt docs
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10968@lists.php.net to get a copy of this message
From:             steffen dot weber at gmail dot com
Operating system: Linux
PHP version:      5.5.9
Package:          cURL related
Bug Type:         Documentation Problem
Bug description:CURLOPT_SAFE_UPLOAD missing from curl_setopt docs

Description:
------------
In PHP 5.5 there is a new cURL option "CURLOPT_SAFE_UPLOAD" (see
https://wiki.php.net/rfc/curl-file-upload)
that is missing from the
documentation of curl_setopt (http://www.php.net/function.curl-setopt).

This option is relevant for security: Unless you enable this option
anyone who controls the payload in "curl_setopt($curl,
CURLOPT_POSTFIELDS, $payload)" can send arbitrary local files.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=66677&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=66677&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=66677&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=66677&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=66677&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=66677&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=66677&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=66677&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=66677&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=66677&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=66677&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=66677&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=66677&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=66677&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66677&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=66677&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=66677&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=66677&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66677&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=66677&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=66677&r=mysqlcfg



Thread (4 messages)

« previous php.doc.bugs (#10968) next »