MISP/MISP

HTTP 404 when loading logo image on specific deployements

已關閉

#1,938 建立於 2017年2月15日

 (0 則留言) (0 個反應) (0 位負責人)PHP (1,306 個分叉)batch import
S: diagnosedS: staleT: potential buggood first issuevisual

倉庫指標

星標
 (4,600 顆星)
PR 合併指標
 (平均合併 17天 10小時) (30 天內合併 50 個 PR)

描述

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"

貢獻者指南