File: privacy_breach.patch

package info (click to toggle)
r-cran-xml2 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 976 kB
  • sloc: cpp: 1,826; xml: 333; javascript: 238; ansic: 178; sh: 71; makefile: 6
file content (24 lines) | stat: -rw-r--r-- 1,277 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Avoid privacy breaching HTML
    Instead of providing privacy breaching html pointing to external JS
    files packaged versions are used.  The two JS in question will be
    provided as code copies.  This is in conflict with Debian Policy ยง4.13
    and the JS should be packaged independently.  Formerly the JS were
    provided by libjs-twitter-bootstrap but since this package was removed
    from Debian this temporary solution was chosen.  Any volunteer might
    pick up the task to package the two JS libs separately.
Author: Andreas Tille <tille@debian.org>
Last-Update: 2017-10-13

--- a/inst/extdata/r-project.html
+++ b/inst/extdata/r-project.html
@@ -16,8 +16,8 @@
     <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
     <!--[if lt IE 9]>
-      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
-      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+      <script src="file:///usr/lib/R/site-library/xml2/extdata/html5shiv.min.js"></script>
+      <script src="file:///usr/lib/R/site-library/xml2/extdata/respond.min.js"></script>
     <![endif]-->
   </head>
   <body>