View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0015558 | mantisbt | bugtracker | public | 2013-03-01 18:46 | 2014-09-23 18:05 | 
| Reporter | dregad | Assigned To | dregad | ||
| Priority | normal | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Product Version | 1.2.14 | ||||
| Target Version | 1.2.15 | Fixed in Version | 1.2.15 | ||
| Summary | 0015558: url_get() does not fall back to other methods when no data is retrieved | ||||
| Description | Currently, the only error checking in this API function is based on the existence of the underlying PHP function/module. If the function call itself fails, the function silently fails and returns an empty string, without trying to use another method of retrieving the URL's contents. | ||||
| Additional Information | This is causing issues for example when using the Github Source Integration plugin from behind a proxy (with openssh module installed) or retrieving an https URL without having an https wrapper: the file_get_contents() function exists, but does not return anything so url_get() returns blank with no errors due to use of '@' In that case it would be useful to try with another method. | ||||
| Tags | No tags attached. | ||||
| MantisBT: master-1.2.x 3fb561f3 2013-03-02 03:30 Details Diff | Fix 0015558: url_get() fallback to next method in case of error | Affected Issues 0015558 | |
| mod - core/url_api.php | Diff File | ||
| MantisBT: master 910546df 2013-03-02 03:30 Details Diff | Fix 0015558: url_get() fallback to next method in case of error | Affected Issues 0015558 | |
| mod - core/url_api.php | Diff File | ||
