[php-src] Issue #7909: Php curl doesnt redirect
| From: | ejgutierrez74 | Date: | Sun, 09 Jan 2022 12:26:56 +0000 |
| Subject: | [php-src] Issue #7909: Php curl doesnt redirect | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238899@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7909
Comment Author: ejgutierrez74
I can confirm still doesnt work...it doesnt redirect to the authorise page of twitter in this case.
I also tested it in spotify.
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
i still have to add:
header('Location: '.$url); to redirect the user to authorization page....
Id update code in original post.