MISP/MISP
HTTP 404 when loading logo image on specific deployements
Closed
#1,938 opened on Feb 15, 2017
S: diagnosedS: staleT: potential buggood first issuevisual
Repository metrics
- Stars
- (4,600 stars)
- PR merge metrics
- (Avg merge 17d 10h) (50 merged PRs in 30d)
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"