Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Don't set CURLOPT_FOLLOWLOCATION #60

Open
hschletz opened this issue May 25, 2016 · 0 comments
Open

Don't set CURLOPT_FOLLOWLOCATION #60

hschletz opened this issue May 25, 2016 · 0 comments
Labels

Comments

@hschletz
Copy link
Contributor

hschletz commented May 25, 2016

My initial PR for cURL support set CURLOPT_FOLLOWLOCATION. This is a leftover from testing and should be removed as it may cause various problems:

  1. It generates a warning if open_basedir is set, eventually garbling client output.
  2. It does not work as expected anyway: The redirection is always done as a GET request, making this mechanism unsuitable for JSON-RPC requests.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants