In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
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 Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0
Status closed Product Version 5.2.0-RC1 Target Version 5.2.0
Time EstimateNo estimate
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
Tags No tags attached.
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
Attached Files patch file icon curl_followlocation_header_fix.patch [^] (2,750 bytes) 2012-07-06 09:31 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0001373resolved (5.2.1)alex Class kCurlHelper ignores GET parameters 
child of 0001283closed (5.2.0)alex Problems with using Curl follow location feature in safe_mode or when open_basedir is enabled 

-  Notes
User avatar (0004758)
alex (manager)
2012-07-06 09:34

Will test all together later.
User avatar (0004759)
alex (manager)
2012-07-06 09:34

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001338: Headers are returned along with response, when curl requests with followLocation option sent
User avatar (0004847)
alex (manager)
2012-07-25 05:29

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r15426
Timestamp: 2012-07-06 09:34:55
Author: alex
Details ] Diff ]
Fixes 0001338: Headers are returned along with response, when curl requests with followLocation option sent
mod - /in-portal/branches/5.2.x/core/units/helpers/curl_helper.php Diff ] File ]

- 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



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker