Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25800 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17266 invoked by uid 1010); 22 Sep 2006 12:21:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17251 invoked from network); 22 Sep 2006 12:21:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Sep 2006 12:21:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=good Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.184 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 64.233.182.184 nf-out-0910.google.com Linux 2.4/2.6 Received: from [64.233.182.184] ([64.233.182.184:54816] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/25-16501-B35D3154 for ; Fri, 22 Sep 2006 08:21:16 -0400 Received: by nf-out-0910.google.com with SMTP id y25so1163580nfb for ; Fri, 22 Sep 2006 05:21:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=cjNuDcDLc81ImQGL+LvLz2ndQz85cmAy9WZDyOmn1sLubvxODBZfr0bse220aRnbqUm//QSJHZGUlN+zwCSfvxFBXvsWISu5H3XN06BAMhBAdnPJ7KcfYkPxlBlBKJXXT1CcuXtBhtFmItj0WDqXhibeY7s/uH68wrzB9LrLwBs= Received: by 10.49.10.3 with SMTP id n3mr1910952nfi; Fri, 22 Sep 2006 05:21:13 -0700 (PDT) Received: by 10.48.212.14 with HTTP; Fri, 22 Sep 2006 05:21:13 -0700 (PDT) Message-ID: <7f3ed2c30609220521i3d5a8c36t4586adf5186827a5@mail.gmail.com> Date: Fri, 22 Sep 2006 14:21:13 +0200 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5657_28007337.1158927673462" Subject: apache2filter bug#38904 From: hannes.magnusson@gmail.com ("Hannes Magnusson") ------=_Part_5657_28007337.1158927673462 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all. Attached is a patch for bug#38904 which is caused by the fact php_execute_script() only chdir()s if zend_file_handle type is set to ZEND_HANDLE_FILENAME, but since the re-implementation of the apache2filter it is set to ZEND_HANDLE_STREAM now. The patch doesn't seem to break any of our tests or anything, but fiddling around there scares me so I would appreciate if someone could sanity-check it and verify that it is the-way-to-go. -Hannes ------=_Part_5657_28007337.1158927673462 Content-Type: text/plain; name="apache2filter.patch.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="apache2filter.patch.txt" X-Attachment-Id: f_esejhm7o SW5kZXg6IG1haW4vbWFpbi5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9yZXBvc2l0b3J5L3BocC1z cmMvbWFpbi9tYWluLmMsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNjQwLjIuMjMuMi4xNQpkaWZm IC11IC1yMS42NDAuMi4yMy4yLjE1IG1haW4uYwotLS0gbWFpbi9tYWluLmMJMTggU2VwIDIwMDYg MjM6MDg6MzYgLTAwMDAJMS42NDAuMi4yMy4yLjE1CisrKyBtYWluL21haW4uYwkyMiBTZXAgMjAw NiAxMDoxMzoxNCAtMDAwMApAQCAtMTcwNCw3ICsxNzA0LDggQEAKIAogCQlQRyhkdXJpbmdfcmVx dWVzdF9zdGFydHVwKSA9IDA7CiAKLQkJaWYgKHByaW1hcnlfZmlsZS0+dHlwZSA9PSBaRU5EX0hB TkRMRV9GSUxFTkFNRSAKKwkJaWYgKChwcmltYXJ5X2ZpbGUtPnR5cGUgPT0gWkVORF9IQU5ETEVf RklMRU5BTUUgfHwKKwkJCQlwcmltYXJ5X2ZpbGUtPnR5cGUgPT0gWkVORF9IQU5ETEVfU1RSRUFN KQogCQkJCSYmIHByaW1hcnlfZmlsZS0+ZmlsZW5hbWUpIHsKICNpZiBIQVZFX0JST0tFTl9HRVRD V0QKIAkJCS8qIHRoaXMgbG9va3MgbmFzdHkgdG8gbWUgKi8K ------=_Part_5657_28007337.1158927673462--