pidgin/old.pidgin.im

Use HTTPS for CVE links

2016-06-20, Richard Laager
5b158bc532a7
Parents 88daba1c58ea
Children 6c27b8cb2c3a
Use HTTPS for CVE links

There's no real reason for this, other than because we can.
--- a/htdocs/news/security/index.php Mon Jun 20 19:46:45 2016 -0500
+++ b/htdocs/news/security/index.php Mon Jun 20 19:48:30 2016 -0500
@@ -1007,7 +1007,7 @@
<?php
if (!empty($vun['cve'])) {
?>
- <td><a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=<?php echo $vun['cve'] ?>"><?php echo $vun['cve'] ?></a></td>
+ <td><a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=<?php echo $vun['cve'] ?>"><?php echo $vun['cve'] ?></a></td>
<?php
} else {
?>
@@ -1048,7 +1048,7 @@
<table>
<?php
- $cve_name = empty($vun['cve']) ? "N/A" : "<a href=\"http://cve.mitre.org/cgi-bin/cvename.cgi?name=" . $vun['cve'] . "\">" . $vun['cve'] . "</a>";
+ $cve_name = empty($vun['cve']) ? "N/A" : "<a href=\"https://cve.mitre.org/cgi-bin/cvename.cgi?name=" . $vun['cve'] . "\">" . $vun['cve'] . "</a>";
echo "<tr><th>Title</th><td>", $vun['title'], "</td></tr>\n";
echo "<tr><th>Date</th><td>", $vun['date'], "</td></tr>\n";