Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

Bug-Debian: https://bugs.debian.org/911842
Description: Add no-referrer meta header to templates.
 * CVE-2018-18655

--- a/templates/cam/header.t
+++ b/templates/cam/header.t
@@ -11,6 +11,7 @@
 % ENDIF
 <meta name="robots" content="none" />
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="referrer" content="no-referrer" />
 <link rel="stylesheet" href="/static/layout.css"
       type="text/css" media="all" />
 <link rel="stylesheet" href="/static/print.css"
--- a/templates/old/header.t
+++ b/templates/old/header.t
@@ -11,6 +11,7 @@
 % ENDIF
 <meta name="robots" content="none" />
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="referrer" content="no-referrer" />
 <link rel="stylesheet" href="/static/common.css" type="text/css" />
 <link rel="stylesheet"
       href="/static/<% $g_theme->name |n %>.css"