-
Notifications
You must be signed in to change notification settings - Fork 101
/
_page.tpl
164 lines (136 loc) · 6.08 KB
/
_page.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<html xmlns:py="http://genshi.edgewall.org/" xmlns:xi="http://www.w3.org/2001/XInclude" py:strip="">
<py:def function="page_title">Security - ${announcement_id()}</py:def>
<py:def function="page_rss">${base_url}security/index.xml</py:def>
<py:def function="page_rss_title">phpMyAdmin security issues</py:def>
<div py:match="content">
<xi:include href="_list.tpl" />
<div id="body">
<h2>${announcement_id()}</h2>
<p><strong>Announcement-ID:</strong> ${announcement_id()}</p>
<p><strong>Date:</strong> ${announcement_date()}</p>
<p py:if="defined('announcement_updated')"><strong>Updated:</strong> ${announcement_updated()}</p>
<h3>Summary</h3>
<p>${announcement_summary()}</p>
<h3>Description</h3>
<p py:if="defined('announcement_description')">${announcement_description()}</p>
<py:if test="defined('announcement_description_fmt')">${announcement_description_fmt()}</py:if>
<h3>Severity</h3>
<p>${announcement_severity()}</p>
<py:if test="defined('announcement_mitigation')">
<h3>Mitigation factor</h3>
<p>${announcement_mitigation()}</p>
</py:if>
<h3>Affected Versions</h3>
<p>${announcement_affected()}</p>
<py:if test="defined('announcement_unaffected')">
<h3>Unaffected Versions</h3>
<p>${announcement_unaffected()}</p>
</py:if>
<h3>Solution</h3>
<p>${announcement_solution()}</p>
<py:if test="defined('announcement_references') or defined('announcement_cve') or defined('announcement_cwe')">
<h3>References</h3>
<p py:if="defined('announcement_references')">${announcement_references()}</p>
<p py:if="defined('announcement_cve')">
Assigned CVE ids:
<!--! This is a bit ugly expression and there must be better way to do
this, but I haven't found it. -->
<py:for each="cve in announcement_cve().next()[1].split(' ')">
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=${cve}">${cve}</a>
</py:for>
</p>
<p py:if="defined('announcement_cwe')">
CWE ids:
<!--! This is a bit ugly expression and there must be better way to do
this, but I haven't found it. -->
<py:for each="cwe in announcement_cwe().next()[1].split(' ')">
<a href="http://cwe.mitre.org/data/definitions/${cwe}.html">CWE-${cwe}</a>
</py:for>
</p>
</py:if>
<py:if test="defined('announcement_commits') or defined('announcement_commits_2_11') or defined('announcement_commits_3_3') or defined('announcement_commits_3_4') or defined('announcement_commits_3_5') or defined('announcement_commits_4_0') or defined('announcement_commits_4_1') or defined('announcement_commits_4_2')">
<h3>Patches</h3>
<py:if test="defined('announcement_commits')">
<p>The following commits have been made to fix this issue:</p>
<ul>
<py:for each="hash in announcement_commits().next()[1].strip().split('\n')">
<li><a href="https://github.com/phpmyadmin/phpmyadmin/commit/${hash}">${hash}</a></li>
</py:for>
</ul>
</py:if>
<py:if test="defined('announcement_commits_4_3')">
<p>The following commits have been made on the 4.3 branch to fix this issue:</p>
<ul>
<py:for each="hash in announcement_commits_4_3().next()[1].strip().split('\n')">
<li><a href="https://github.com/phpmyadmin/phpmyadmin/commit/${hash}">${hash}</a></li>
</py:for>
</ul>
</py:if>
<py:if test="defined('announcement_commits_4_2')">
<p>The following commits have been made on the 4.2 branch to fix this issue:</p>
<ul>
<py:for each="hash in announcement_commits_4_2().next()[1].strip().split('\n')">
<li><a href="https://github.com/phpmyadmin/phpmyadmin/commit/${hash}">${hash}</a></li>
</py:for>
</ul>
</py:if>
<py:if test="defined('announcement_commits_4_1')">
<p>The following commits have been made on the 4.1 branch to fix this issue:</p>
<ul>
<py:for each="hash in announcement_commits_4_1().next()[1].strip().split('\n')">
<li><a href="https://github.com/phpmyadmin/phpmyadmin/commit/${hash}">${hash}</a></li>
</py:for>
</ul>
</py:if>
<py:if test="defined('announcement_commits_4_0')">
<p>The following commits have been made on the 4.0 branch to fix this issue:</p>
<ul>
<py:for each="hash in announcement_commits_4_0().next()[1].strip().split('\n')">
<li><a href="https://github.com/phpmyadmin/phpmyadmin/commit/${hash}">${hash}</a></li>
</py:for>
</ul>
</py:if>
<py:if test="defined('announcement_commits_3_5')">
<p>The following commits have been made on the 3.5 branch to fix this issue:</p>
<ul>
<py:for each="hash in announcement_commits_3_5().next()[1].strip().split('\n')">
<li><a href="https://github.com/phpmyadmin/phpmyadmin/commit/${hash}">${hash}</a></li>
</py:for>
</ul>
</py:if>
<py:if test="defined('announcement_commits_3_4')">
<p>The following commits have been made on the 3.4 branch to fix this issue:</p>
<ul>
<py:for each="hash in announcement_commits_3_4().next()[1].strip().split('\n')">
<li><a href="https://github.com/phpmyadmin/phpmyadmin/commit/${hash}">${hash}</a></li>
</py:for>
</ul>
</py:if>
<py:if test="defined('announcement_commits_3_3')">
<p>The following commits have been made on the 3.3 branch to fix this issue:</p>
<ul>
<py:for each="hash in announcement_commits_3_3().next()[1].strip().split('\n')">
<li><a href="https://github.com/phpmyadmin/phpmyadmin/commit/${hash}">${hash}</a></li>
</py:for>
</ul>
</py:if>
<py:if test="defined('announcement_commits_2_11')">
<p>The following commits have been made on the 2.11 branch to fix this issue:</p>
<ul>
<py:for each="hash in announcement_commits_2_11().next()[1].strip().split('\n')">
<li><a href="https://github.com/phpmyadmin/phpmyadmin/commit/${hash}">${hash}</a></li>
</py:for>
</ul>
</py:if>
</py:if>
<h3>More information</h3>
<p>
For further information and in case of questions, please contact the
phpMyAdmin team. Our website is <a href="http://www.phpmyadmin.net/">
phpmyadmin.net</a>.
</p>
</div>
<div class="clearer"></div>
</div>
<xi:include href="../_page.tpl" />
</html>