MISP/MISP
View on GitHubHTTP 404 when loading logo image on specific deployements
Open
#1,938 opened on Feb 15, 2017
S: diagnosedS: staleT: potential buggood first issuevisual
Description
Very low impact bug, the logo is not loaded by the browser (404 error). The bug can occur when running the application behind a reverse proxy or under a different URL path like this https://misp.local/misp1.
The default logo path is hardcoded in the file MISP/app/View/Users/login.ctp at the line 22:
<img src="/img/misp-logo.png"
It should be loaded dynamically like the custom logos
<img src="<?php echo $baseurl?>/img/misp-logo.png"