View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033756 | mantisbt | installation | public | 2024-02-17 06:57 | 2024-02-20 16:58 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 2.26.1 | Fixed in Version | 2.26.1 | ||
Summary | 0033756: Errors on browser console when installing | ||||
Description | When installing a new MantisBT instance (i.e. config_inc.php is not present), the following errors are reported in the browser's javascript console: [Error] Refused to execute http://localhost/mantis/javascript_config.php?cache_key=c56e273e137e49dcaff509c1bc65362e as script because "X-Content-Type-Options: nosniff" was given and its Content-Type is not a script MIME type. This caused by core.php redirecting to install.php, when attempting to load the dynamically built javascript files. Since these scripts are not required when installing so we should just abort without returning any content. | ||||
Tags | No tags attached. | ||||
MantisBT: master-2.26 6da6fb05 2024-02-17 07:11 Details Diff |
Fix javascript console errors in install.php This caused by core.php redirecting to install.php when config_inc.php does not exist, when attempting to load the dynamically built javascript files. Fixes 0033756 |
Affected Issues 0033756 |
|
mod - core.php | Diff File |