[planet-web] Make sure the ux planet loads its CSS from a trusted source
- From: Andrea Veri <av src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [planet-web] Make sure the ux planet loads its CSS from a trusted source
- Date: Thu, 20 Feb 2014 18:15:59 +0000 (UTC)
commit 403299ef34b48644313654cdc066980027301d66
Author: Andrea Veri <av gnome org>
Date: Thu Feb 20 19:15:54 2014 +0100
Make sure the ux planet loads its CSS from a trusted source
themes/ux/index.html.tmpl | 24 ++++++++++++------------
themes/ux/simple.html.tmpl | 16 ++++++++--------
2 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/themes/ux/index.html.tmpl b/themes/ux/index.html.tmpl
index a651b27..b9e1dc3 100644
--- a/themes/ux/index.html.tmpl
+++ b/themes/ux/index.html.tmpl
@@ -5,17 +5,17 @@
<title><TMPL_VAR name></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link rel="shortcut icon" type="image/png" href="http://planet.gnome.org/img/gnome-16.png">
+ <link rel="shortcut icon" type="image/png" href="https://planet.gnome.org/img/gnome-16.png">
<link rel="alternate" type="application/atom+xml" title="<TMPL_VAR title ESCAPE="HTML"> Atom 1.0"
href="<TMPL_VAR link ESCAPE="HTML">atom.xml">
<link rel="alternate" type="application/rss+xml" title="<TMPL_VAR title ESCAPE="HTML"> RSS 2.0"
href="<TMPL_VAR link ESCAPE="HTML">rss20.xml">
- <link rel="stylesheet" href="http://planet.gnome.org/nlayout.css" type="text/css">
- <link rel="stylesheet" href="http://planet.gnome.org/planet.css" type="text/css">
- <link rel="stylesheet" href="http://planet.gnome.org/generic.css" type="text/css">
- <link rel="stylesheet" href="http://blogs.gnome.org/wp-content/mu-plugins/bug-links/bug-links.css"
type="text/css">
+ <link rel="stylesheet" href="https://planet.gnome.org/nlayout.css" type="text/css">
+ <link rel="stylesheet" href="https://planet.gnome.org/planet.css" type="text/css">
+ <link rel="stylesheet" href="https://planet.gnome.org/generic.css" type="text/css">
+ <link rel="stylesheet" href="https://blogs.gnome.org/wp-content/mu-plugins/bug-links/bug-links.css"
type="text/css">
- <script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
- <script type="text/javascript" src="http://planet.gnome.org/jquery.lazyload.min.js"></script>
+ <script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
+ <script type="text/javascript" src="https://planet.gnome.org/jquery.lazyload.min.js"></script>
<script type="text/javascript"><!-- $(function(){ $('.post img').lazyload(); }); --></script>
</head>
@@ -40,12 +40,12 @@
<!--<input type="submit" name="sa" value="Search">-->
<input type="hidden" name="cof" value="FORID:0">
</form>
-<script type="text/javascript"
src="http://www.google.com/coop/cse/brand?form=searchbox_007525575524326405779%3Ac0gv0y410u0"></script>
+<script type="text/javascript"
src="https://www.google.com/coop/cse/brand?form=searchbox_007525575524326405779%3Ac0gv0y410u0"></script>
</div> <!-- /search -->
<!-- Google CSE Search Box Ends -->
<div id="masthead">
-<a href="/" title="Home" rel="home"><img src="http://planet.gnome.org/img/logo.png" alt="Home"
id="site-logo" width="64" height="64"></a>
+<a href="/" title="Home" rel="home"><img src="https://planet.gnome.org/img/logo.png" alt="Home"
id="site-logo" width="64" height="64"></a>
<div id="site-title">
<p id="site-name"><a href="/" title="Home" rel="home"><TMPL_VAR title ESCAPE="HTML"></a></p>
<p id="site-slogan">24 hours a day, 7 days a week, 365 days per year<span title="Yeah, yeah... 366 days per
leap year :-)" style="cursor: pointer;">*</span>, this is... <TMPL_VAR title ESCAPE="HTML">!</p>
@@ -70,9 +70,9 @@
<div class="entry<TMPL_IF channel_nick> <TMPL_VAR channel_nick></TMPL_IF>">
<div class="person-info">
-<a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR channel_title ESCAPE="HTML">"><TMPL_IF
channel_face><img class="face" src="<TMPL_VAR channel_face ESCAPE="HTML">" alt=""><br><TMPL_ELSE><img
class="face" src="http://planet.gnome.org/heads/nobody.png" alt=""><br></TMPL_IF><TMPL_VAR
channel_name><TMPL_IF channel_real><br><TMPL_VAR channel_real></TMPL_IF><TMPL_IF channel_nick><br>(<TMPL_VAR
channel_nick>)</TMPL_IF></a>
-<TMPL_IF channel_gsoc2010><p><a href="http://live.gnome.org/SummerOfCode2010" title="Google Summer of Code
2010"><img src="http://planet.gnome.org/heads/logos/gsoc2010.png" alt="GSoC 2010" /></a></p></TMPL_IF>
-<TMPL_IF channel_guadec><p><a href="http://www.guadec.org/" title="The GNOME Conference"><img
src="http://planet.gnome.org/heads/logos/guadec.png" alt="The GNOME Conference" /></a></p></TMPL_IF>
+<a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR channel_title ESCAPE="HTML">"><TMPL_IF
channel_face><img class="face" src="<TMPL_VAR channel_face ESCAPE="HTML">" alt=""><br><TMPL_ELSE><img
class="face" src="https://planet.gnome.org/heads/nobody.png" alt=""><br></TMPL_IF><TMPL_VAR
channel_name><TMPL_IF channel_real><br><TMPL_VAR channel_real></TMPL_IF><TMPL_IF channel_nick><br>(<TMPL_VAR
channel_nick>)</TMPL_IF></a>
+<TMPL_IF channel_gsoc2010><p><a href="https://wiki.gnome.org/SummerOfCode2010" title="Google Summer of Code
2010"><img src="http://planet.gnome.org/heads/logos/gsoc2010.png" alt="GSoC 2010" /></a></p></TMPL_IF>
+<TMPL_IF channel_guadec><p><a href="http://www.guadec.org/" title="The GNOME Conference"><img
src="https://planet.gnome.org/heads/logos/guadec.png" alt="The GNOME Conference" /></a></p></TMPL_IF>
</div>
<div class="post">
diff --git a/themes/ux/simple.html.tmpl b/themes/ux/simple.html.tmpl
index fecaa66..60359ed 100644
--- a/themes/ux/simple.html.tmpl
+++ b/themes/ux/simple.html.tmpl
@@ -5,13 +5,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><TMPL_VAR name></title>
- <link rel="stylesheet" href="http://planet.gnome.org/generic.css" type="text/css">
- <link rel="stylesheet" href="http://planet.gnome.org/planet.css" type="text/css">
+ <link rel="stylesheet" href="https://planet.gnome.org/generic.css" type="text/css">
+ <link rel="stylesheet" href="https://planet.gnome.org/planet.css" type="text/css">
- <link rel="icon" type="image/png" href="http://planet.gnome.org/img/gnome-16.png">
- <link rel="SHORTCUT ICON" type="image/png" href="http://planet.gnome.org/img/gnome-16.png">
- <link rel="alternate" type="application/atom+xml" title="Planet UX Atom 1.0"
href="http://planet.gnome.org/ux/atom.xml">
- <link rel="alternate" type="application/rss+xml" title="Planet UX RSS 2.0"
href="http://planet.gnome.org/ux/rss20.xml">
+ <link rel="icon" type="image/png" href="https://planet.gnome.org/img/gnome-16.png">
+ <link rel="SHORTCUT ICON" type="image/png" href="https://planet.gnome.org/img/gnome-16.png">
+ <link rel="alternate" type="application/atom+xml" title="Planet UX Atom 1.0"
href="https://planet.gnome.org/ux/atom.xml">
+ <link rel="alternate" type="application/rss+xml" title="Planet UX RSS 2.0"
href="https://planet.gnome.org/ux/rss20.xml">
</head>
@@ -30,14 +30,14 @@
<TMPL_IF channel_face>
<img class="face" src="<TMPL_VAR channel_face ESCAPE="HTML">" alt=""><br />
<TMPL_ELSE>
- <img class="face" src="http://planet.gnome.org/heads/nobody.png" alt=""><br />
+ <img class="face" src="https://planet.gnome.org/heads/nobody.png" alt=""><br
/>
</TMPL_IF>
<TMPL_VAR channel_name>
<TMPL_IF channel_real><br /><TMPL_VAR channel_real></TMPL_IF>
<TMPL_IF channel_nick><br />(<TMPL_VAR channel_nick>)</TMPL_IF>
</a>
<TMPL_IF channel_gsoc2010>
- <p><a href="http://live.gnome.org/SummerOfCode2010" title="Google Summer of Code 2010"><img
src="http://planet.gnome.org/heads/logos/gsoc2010.png" alt="GSoC 2010" /></a></p>
+ <p><a href="https://wiki.gnome.org/SummerOfCode2010" title="Google Summer of Code 2010"><img
src="https://planet.gnome.org/heads/logos/gsoc2010.png" alt="GSoC 2010" /></a></p>
</TMPL_IF>
</div>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]