View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012638 | mantisbt | integration | public | 2010-12-29 18:39 | 2011-04-05 14:23 |
Reporter | loginus | Assigned To | dhx | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.4 | ||||
Target Version | 1.2.5 | Fixed in Version | 1.2.5 | ||
Summary | 0012638: function url_get doesn't support 'allow_url_fopen'='Off' | ||||
Description | I detected this bug when trying to use "source-integration" plugin. Function url_get( $p_url ) in url_api.php file doesn't work properly when 'allow_url_fopen' is set to 'Off'. I fixed it replacing code:
to:
Possibly the problem ocurs also in other functions | ||||
Tags | patch | ||||
MantisBT: master 2c60cda4 2011-01-07 05:45 Details Diff |
Fix 0012638: allow_url_fopen php.ini setting is boolean Function url_get( $p_url ) in url_api.php file doesn't work properly when 'allow_url_fopen' is set to 'Off'. Instead of using a generic ini_get() call we should instead use the ini_get_boolean() call to get this PHP configuration value. Thanks to loginus for reporting this issue and providing this patch. |
Affected Issues 0012638 |
|
mod - core/url_api.php | Diff File | ||
MantisBT: master-1.2.x ffd70d46 2011-01-07 05:45 Details Diff |
Fix 0012638: allow_url_fopen php.ini setting is boolean Function url_get( $p_url ) in url_api.php file doesn't work properly when 'allow_url_fopen' is set to 'Off'. Instead of using a generic ini_get() call we should instead use the ini_get_boolean() call to get this PHP configuration value. Thanks to loginus for reporting this issue and providing this patch. |
Affected Issues 0012638 |
|
mod - core/url_api.php | Diff File |