In-Portal Issue Tracker - In-Portal CMS
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Type:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
1338 |
[In-Portal CMS] Data Management |
bug report |
always |
2012-07-06 09:31 |
2012-07-25 05:29 |
|
Reporter:
|
alex |
Platform:
|
|
|
Assigned To:
|
alex |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
5.2.0-RC1 |
|
Product Build:
|
|
Resolution:
|
fixed |
|
|
ETA:
|
none |
Fixed in Version:
|
5.2.0 |
|
Reference:
|
https://groups.google.com/d/topic/in-portal-bugs/UwTPdhvo4qg/discussion |
Change Log Message:
|
Fixes header being returned from curl request with followlocation setting |
Estimate Points:
|
1 |
|
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. |
Steps To Reproduce:
|
|
Additional Information:
|
|
Relationships | related to | 0001373 | resolved (5.2.1) | alex | Class kCurlHelper ignores GET parameters | child of | 0001283 | closed (5.2.0) | alex | Problems with using Curl follow location feature in safe_mode or when open_basedir is enabled |
|
Attached Files:
|
curl_followlocation_header_fix.patch (2,750) 2012-07-06 09:31 http://tracker.in-portal.org/file_download.php?file_id=1724&type=bug |
|
Issue History |
Date Modified |
Username |
Field |
Change |
2012-08-15 06:06 |
alex |
Relationship added |
related to 0001373 |
2012-07-25 05:29 |
alex |
Note Added: 0004847 |
|
2012-07-25 05:29 |
alex |
Status |
resolved => closed |
2012-07-06 09:34 |
alex |
Changeset attached |
5.2.x r15426 |
2012-07-06 09:34 |
alex |
Note Added: 0004759 |
|
2012-07-06 09:34 |
alex |
Status |
reviewed and tested => resolved |
2012-07-06 09:34 |
alex |
Fixed in Version |
=> 5.2.0 |
2012-07-06 09:34 |
alex |
Resolution |
open => fixed |
2012-07-06 09:34 |
alex |
Assigned To |
!COMMUNITY => alex |
2012-07-06 09:34 |
alex |
Status |
needs testing => reviewed and tested |
2012-07-06 09:34 |
alex |
Note Added: 0004758 |
|
2012-07-06 09:33 |
alex |
Assigned To |
=> !COMMUNITY |
2012-07-06 09:33 |
alex |
Developer |
=> alex |
2012-07-06 09:33 |
alex |
Status |
active => needs testing |
2012-07-06 09:33 |
alex |
Reference |
=> https://groups.google.com/d/topic/in-portal-bugs/UwTPdhvo4qg/discussion |
2012-07-06 09:32 |
alex |
Relationship added |
child of 0001283 |
2012-07-06 09:31 |
alex |
New Issue |
|
2012-07-06 09:31 |
alex |
File Added: curl_followlocation_header_fix.patch |
|
2012-07-06 09:31 |
alex |
Change Log Message |
=> Fixes header being returned from curl request with followlocation setting |
2012-07-06 09:31 |
alex |
Estimate Points |
=> 1 |