View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0035852 | mantisbt | api rest | public | 2025-04-19 09:37 | 2025-04-21 14:29 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Target Version | 2.27.2 | Fixed in Version | 2.27.2 | ||
Summary | 0035852: REST API GET /filters throws deprecation warning on PHP 8.1 | ||||
Description | Unhandled deprecation warning in .../core/string_api.php line 237: 'rawurlencode(): Passing null to parameter 1 ($string) of type string is deprecated | ||||
Tags | PHP 8.1 | ||||
MantisBT: master-2.27 71f285fc 2025-04-19 09:45 Details Diff |
Fix PHP warning on REST API GET /filters Unhandled deprecation warning in .../core/filter_api.php line 417: 'urlencode(): Passing null to parameter 0000001 ($string) of type string is deprecated' Add type cast, both in string_url() function and in offending caller filter_encode_field_and_value(), in preparation for a future change of parameter type to enforce string. Fixes 0035852 Backported from 798ccf1d007a9d1712940c60a7dac01c049d38a6. |
Affected Issues 0035852 |
|
mod - core/filter_api.php | Diff File | ||
mod - core/string_api.php | Diff File | ||
MantisBT: master 798ccf1d 2025-04-19 09:45 Details Diff |
Fix PHP warning on REST API GET /filters Unhandled deprecation warning in .../core/string_api.php line 237: 'rawurlencode(): Passing null to parameter 1 ($string) of type string is deprecated. Add type cast, both in string_url() function and in offending caller filter_encode_field_and_value(), in preparation for a future change of parameter type to enforce string. Fixes 0035852 |
Affected Issues 0035852 |
|
mod - core/filter_api.php | Diff File | ||
mod - core/string_api.php | Diff File |