ID:               33336
 Updated by:       [EMAIL PROTECTED]
 Reported By:      v0yager at chaik dot ru
-Status:           Open
+Status:           Feedback
 Bug Type:         HTTP related
 Operating System: Fedora core1
 PHP Version:      5.0.4
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2005-06-14 12:31:13] v0yager at chaik dot ru

Description:
------------
php -v:
PHP 5.0.4 (cli) (built: Jun 14 2005 15:46:20)
Copyright (c) 1997-2004 The PHP Group

php configured with options:

--prefix=/usr/local/php \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql \
--with-mysql-sock=/var/lib/mysql \
--enable-ftp \
--enable-sysvsem \
--enable-sysvshm \
--enable-sysvmsg \
--enable-debug \
--with-gd \
--with-jpeg-dir \
--with-png-dir \
--with-zlib \
--enable-sockets


Reproduce code:
---------------
script.php contains:

<?php
$headers=get_headers("http://myhost.ru/1.php";);
print_r($headers);
?>
=============
"1.php" contains:

<?php
header("Location: ftp://ftp.myhost.ru/video/movie.avi";);
?>
=============

Expected result:
----------------
script.php terminated with Segmentation fault when server answer
contains header "Location" to ftp resource. I think it is necessary to
finish recursive calls of this function when  header contains Location
"jump" to ftp resource.

PS: Sorry for my bad english %)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33336&edit=1

Reply via email to