Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75179 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6356 invoked from network); 2 Jul 2014 21:16:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jul 2014 21:16:20 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.49 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.219.49 mail-oa0-f49.google.com Received: from [209.85.219.49] ([209.85.219.49:43380] helo=mail-oa0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 57/4B-47713-3A674B35 for ; Wed, 02 Jul 2014 17:16:20 -0400 Received: by mail-oa0-f49.google.com with SMTP id i7so12866731oag.22 for ; Wed, 02 Jul 2014 14:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Hpgfi/TBvfaJQttPo+k/niG1oHZKez+rewNbYP9y+vE=; b=H/eqBFDDP+ZwvDUizcKJIZ6GR5rwXrL1qK8ZHfuJqXXOF/CGy0+aAklF+X2x27fAYF 8IBWTnk+rWNX6Aqw5/s1MtTihNXw8BtA0CvkPo4cIspYte4XcwEkZkISar5k0UUYlNOO 6o9UHay4lMto+oBGQQP9qko92I1r4550jlEP4JooFb7Mpb+FyYh6vG1tWRXJ1/PhLoyl PR7NCFkWzHpNjjHed5TUhQhqs3S9cNntntS/yXMSdCYSIT9qSlIh2OS80M79xQ6P0JFH mfBCDlulLAwhSJOOty4Og0XLYpM4tyezPRkbEFTBp9/C5Qu896CJp+LWiWGl60QyJ4a2 32rA== MIME-Version: 1.0 X-Received: by 10.182.44.233 with SMTP id h9mr459027obm.68.1404335777098; Wed, 02 Jul 2014 14:16:17 -0700 (PDT) Sender: morrison.levi@gmail.com Received: by 10.76.77.100 with HTTP; Wed, 2 Jul 2014 14:16:17 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Jul 2014 15:16:17 -0600 X-Google-Sender-Auth: 0tiqqT6-L4YvZqOQlVE-93kKtCI Message-ID: To: Michael Wallner Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] PHP-5.6 php://input temp files From: levim@php.net (Levi Morrison) On Wed, Jul 2, 2014 at 11:56 AM, Michael Wallner wrote: > Hi! > > While hunting other bugs I noticed that the temp stream for php://input > stores its temp files in sys_temp_dir instead of upload_tmp_dir (of > course), which might be quite unexpected and cumbersome for a sysadmin. I can understand why you would put it in upload; the php://input stream is the raw data for the request which is most commonly used in uploads via PUT or POST. However, it did take me a few minutes to realize this. I would not have expected it to be in the upload tmp directory instead of the system temp directory.