Viewing Issue Simple Details |
ID |
Category |
Type |
Reproducibility |
Date Submitted |
Last Update |
0001338 |
[In-Portal CMS] Data Management |
bug report |
always |
2012-07-06 09:31 |
2012-07-25 05:29 |
|
Reporter |
alex |
View Status |
public |
|
Assigned To |
alex |
Priority |
normal |
Resolution |
fixed |
|
Status |
closed |
|
|
|
|
Summary |
0001338: Headers are returned along with response, when curl requests with followLocation option sent |
Description |
When trying to read page contents from given url via CURL library you might get 302 response header (redirect request to new page location) instead of 200 with proper page content.
To solve this CURL has FOLLOW_LOCATION option that can be enabled. However this option doesn't work, when "option_basedir" or "safe_mode" settings in php.ini file are used.
We solved this problem in 0001283 task (in 5.2.0-RC1), but a bug was made back then that resulted in headers returned along with queried url contents. |
Additional Information |
|