View Issue Details

IDProjectCategoryView StatusLast Update
0024860mantisbthtmlpublic2019-02-06 13:04
Reportergmgallo Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version2.18.0 
Summary0024860: Refused to load the stylesheet '<URL>'
Description

Hi

I installed mantisbt on our support server and all the requests are made from outside (internet), so I configured two apache, one for the production server and one for the support server.

This is the conf of production server:
ProxyPass / http://192.168.0.53:5080/
ProxyPassReverse / http://192.168.0.53:5080/

This is the conf of support server:
<VirtualHost *:5080>

    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html/mantisbt/

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    &lt;Directory &quot;/&quot;>
            AllowOverride FileInfo
    &lt;/Directory>

</VirtualHost>

The returned error in browser is:
Refused to load the stylesheet '<URL>' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline'".

Thanks

TagsNo tags attached.

Relationships

related to 0013056 new Url are coding with static path instead of relative path 
related to 0009333 new Wrong protocol when using Apache mod_proxy as a reverse proxy to access a Mantis service. 

Activities

atrol

atrol

2018-10-18 02:04

developer   ~0060828

Might help some way 0013056

gmgallo

gmgallo

2018-10-18 02:27

reporter   ~0060829

Tried without success

sarodude

sarodude

2019-02-06 12:30

reporter   ~0061421

Committed / pushed a change: https://github.com/mantisbt/mantisbt/pull/1459