unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 2168263072d44a991feb01ec04a509e9c015625b 2220 bytes (raw)
name: gnu/packages/patches/calibre-dont-load-remote-icons.patch 	 # note: path name is non-authoritative(*)

 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
 
From: Martin Pitt <mpitt@debian.org>
Date: Mon, 14 Nov 2016 22:41:24 +0100
Subject: content-server: Don't load external URLs for privacy

Spotted by lintian.
---
 resources/content_server/browse/browse.html | 4 +---
 resources/content_server/index.html         | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/resources/content_server/browse/browse.html b/resources/content_server/browse/browse.html
index 36f7199..e615707 100644
--- a/resources/content_server/browse/browse.html
+++ b/resources/content_server/browse/browse.html
@@ -7,7 +7,7 @@
     <title>..:: calibre {library} ::.. {title}</title>
     <meta http-equiv="X-UA-Compatible" content="IE=100" />
     <meta name="robots" content="noindex" />
-    <link rel="icon" type="image/x-icon" href="//calibre-ebook.com/favicon.ico" />
+    <link rel="icon" type="image/x-icon" href="favicon.ico" />
 
     <link rel="stylesheet" type="text/css" href="{prefix}/static/browse/browse.css" />
     <link type="text/css" href="{prefix}/static/jquery_ui/css/humanity-custom/jquery-ui-1.8.5.custom.css" rel="stylesheet" />
@@ -63,8 +63,6 @@
                     <input type="image"
                     src="{prefix}/static/button-donate.png"
                         name="submit"></input>
-                    <img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif"
-                        width="1" height="1"></img>
                 </div>
             </form>
             <div id="calibre-home-link" title="Go to the calibre website"></div>
diff --git a/resources/content_server/index.html b/resources/content_server/index.html
index 51cc33a..e71d0e8 100644
--- a/resources/content_server/index.html
+++ b/resources/content_server/index.html
@@ -9,7 +9,7 @@
         <script type="text/javascript" src="{prefix}/static/date.js" charset="utf-8"></script>
         <script type="text/javascript" src="{prefix}/static/jquery.js" charset="utf-8"></script>
         <script type="text/javascript" src="{prefix}/static/gui.js" charset="utf-8"></script>
-		<link rel="icon" href="//calibre-ebook.com/favicon.ico" type="image/x-icon" />
+		<link rel="icon" href="favicon.ico" type="image/x-icon" />
 	</head>
 	<body>
 	    <div id="banner">

debug log:

solving 216826307 ...
found 216826307 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).