Anonymous | Login | Signup for a new account | 2023-05-30 19:49 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update | ||
0001283 | [In-Portal CMS] Data Management | bug report | always | 2012-05-17 03:06 | 2012-07-25 05:30 | ||
Reporter | alex | View Status | public | Project Name | In-Portal CMS | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Fixed in Version | 5.2.0-RC1 | ||
Status | closed | Product Version | 5.0.0 | Target Version | 5.2.0 | ||
Time Estimate | No estimate | ||||||
Summary | 0001283: Problems with using Curl follow location feature in safe_mode or when open_basedir is enabled | ||||||
Description |
Curl is wonderful program, that allows to make requests to any other website via http and https protocols and get requested data. These days, when CDN are very popular the url you're trying to reach will most likely redirect you to equivalent url, but located closer to you. This will allow to speedup download. Usually curl can process such redirect automatically thanks to FOLLOW_LOCATION option, however due PHP limitations it can't do so, while either safe_mode or open_basedir options are set in php.ini. Attached patch emulates FOLLOW_LOCATION behavior by following "Location:" header in received response, when curl isn't able to do it itself. |
||||||
Additional Information | |||||||
Tags | No tags attached. | ||||||
Reference | https://groups.google.com/d/topic/in-portal-bugs/ffwULE4Hiz4/discussion | ||||||
Change Log Message | Fixes incorrect curl response in case of safe_mode/open_basedir is enabled | ||||||
Estimate Points | 1 | ||||||
Attached Files |
![]() |
||||||
|
![]() |
||||||
|
![]() |
|
![]() alex (manager) 2012-05-17 03:08 |
Will test all together later. |
![]() alex (manager) 2012-05-17 03:09 |
Fix committed to 5.2.x branch. Commit Message: Fixes 0001283: Problems with using Curl follow location feature in safe_mode or when open_basedir is enabled |
![]() alex (manager) 2012-07-25 05:30 |
Since 5.2.0/1.2.0 versions was released. |
![]() |
|||
In-Portal CMS: 5.2.x r15337 Timestamp: 2012-05-17 03:09:00 Author: alex [ Details ] [ Diff ] |
Fixes 0001283: Problems with using Curl follow location feature in safe_mode or when open_basedir is enabled | ||
mod - /in-portal/branches/5.2.x/core/units/helpers/curl_helper.php | [ Diff ] [ File ] | ||
![]() |
|||
Date Modified | Username | Field | Change |
2012-07-25 05:30 | alex | Note Added: 0004905 | |
2012-07-25 05:30 | alex | Status | resolved => closed |
2012-07-06 09:32 | alex | Relationship added | parent of 0001338 |
2012-05-17 03:09 | alex | Changeset attached | 5.2.x r15337 |
2012-05-17 03:09 | alex | Note Added: 0004638 | |
2012-05-17 03:09 | alex | Status | reviewed and tested => resolved |
2012-05-17 03:09 | alex | Fixed in Version | => 5.2.0-RC1 |
2012-05-17 03:09 | alex | Resolution | open => fixed |
2012-05-17 03:09 | alex | Assigned To | !COMMUNITY => alex |
2012-05-17 03:08 | alex | Note Added: 0004637 | |
2012-05-17 03:08 | alex | Status | needs testing => reviewed and tested |
2012-05-17 03:08 | alex | Assigned To | => !COMMUNITY |
2012-05-17 03:08 | alex | Developer | => alex |
2012-05-17 03:08 | alex | Status | active => needs testing |
2012-05-17 03:07 | alex | Reference | => https://groups.google.com/d/topic/in-portal-bugs/ffwULE4Hiz4/discussion |
2012-05-17 03:06 | alex | New Issue | |
2012-05-17 03:06 | alex | File Added: curl_and_follow_location_in_safe_mode.patch | |
2012-05-17 03:06 | alex | Change Log Message | => Fixes incorrect curl response in case of safe_mode/open_basedir is enabled |
2012-05-17 03:06 | alex | Estimate Points | => 1 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |