#31481 [NEW]: curl isn't following redirects with a relative path

From: Date: Mon, 10 Jan 2005 23:07:59 +0000
Subject: #31481 [NEW]: curl isn't following redirects with a relative path
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71791@lists.php.net to get a copy of this message
From:             jason at merchant dot to
Operating system: Windows XP Pro
PHP version:      4.3.10
PHP Bug Type:     HTTP related
Bug description:  curl isn't following redirects with a relative path

Description:
------------
I am grabbing an https:// page using curl and that page redirects using a
relative path like "/page1.php". curl is failing to follow this path. I
have tried replacing the relative path with an absolute path on the page
I'm grabbing and that worked so I know the problem lies in the relative
path redirection.


-- 
Edit bug report at http://bugs.php.net/?id=31481&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31481&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31481&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31481&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31481&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31481&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31481&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31481&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31481&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31481&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31481&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=31481&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=31481&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31481&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31481&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31481&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31481&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31481&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31481&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31481&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31481&r=mysqlcfg


Thread (6 messages)

« previous php.bugs (#71791) next »