MISP/MISP
HTTP 404 when loading logo image on specific deployements
Geschlossen
#1.938 geöffnet am 15.02.2017
S: diagnosedS: staleT: potential buggood first issuevisual
Repository-Metriken
- Stars
- (4.600 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 17T 10h) (50 gemergte PRs in 30 T)
Beschreibung
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"