View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0030490 | mantisbt | javascript | public | 2022-06-07 08:52 | 2022-06-12 09:48 |
Reporter | atrol | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Target Version | 2.26.0 | Fixed in Version | 2.26.0 | ||
Summary | 0030490: list.js library causing CSP violation in manage_proj_edit_page.php | ||||
Description | This was reported by @atrol in https://github.com/mantisbt/mantisbt/pull/1821#issuecomment-1147325872:
The browser's console reports the following error:
| ||||
Tags | No tags attached. | ||||
The problem is caused by list.js library, which is adding javascript code in the page navigation buttons' href attribute. This is a known issue (https://github.com/javve/list.js/issues/498), which has been fixed in list.js 2.0.0. We should upgrade to the latest version. |
|
MantisBT: master 96ab85e3 2022-06-07 09:05 Details Diff |
Update list.js from 1.5.0 to 2.3.1 Fixes CSP violation when using navigation buttons. Fixes 0030490 |
Affected Issues 0030490 |
|
mod - core/constant_inc.php | Diff File | ||
rm - js/list-1.5.0.js | Diff | ||
rm - js/list-1.5.0.min.js | Diff | ||
add - js/list-2.3.1.js | Diff File | ||
add - js/list-2.3.1.min.js | Diff File | ||
mod - library/README.md | Diff File |