diff options
author | Paul Menzel <pmenzel@molgen.mpg.de> | 2017-12-18 10:30:14 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-12-18 09:44:34 +0000 |
commit | 0f729460aada6343dd3aca9c6c192208f018959e (patch) | |
tree | 52bf759384aa1991c4b90c9c5aab22d14531bf2b /contrib | |
parent | 2c92e03775a15bcd304ef39e9a3220496fc9168a (diff) | |
download | colord-0f729460aada6343dd3aca9c6c192208f018959e.tar.gz |
Use more secure HTTPS URLs for freedesktop.org URLs
Prevent certain attacks, and save one redirect by using the more secure
HTTPS URLs.
```
$ curl -I http://www.freedesktop.org/
HTTP/1.1 302 Found
Date: Mon, 18 Dec 2017 09:31:43 GMT
Server: Apache/2.4.10 (Debian)
Location: https://www.freedesktop.org/
Content-Type: text/html; charset=iso-8859-1
```
Run the command below to update all freedeskto.org URLs.
```
$ git grep -l 'http://www.freedesktop.org' | xargs sed -i 's,http://www.freedesktop.org,https://www.freedesktop.org,g'
```
Fixes: https://github.com/hughsie/colord/issues/63
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/colord.spec.in | 4 | ||||
-rw-r--r-- | contrib/session-helper/org.freedesktop.ColorHelper.xml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/colord.spec.in b/contrib/colord.spec.in index 2da313d..2225424 100644 --- a/contrib/colord.spec.in +++ b/contrib/colord.spec.in @@ -22,8 +22,8 @@ Name: colord Version: #VERSION# Release: 0.#BUILD#%{?alphatag}%{?dist} License: GPLv2+ and LGPLv2+ -URL: http://www.freedesktop.org/software/colord/ -Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz +URL: https://www.freedesktop.org/software/colord/ +Source0: https://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz BuildRequires: dbus-devel BuildRequires: docbook-utils diff --git a/contrib/session-helper/org.freedesktop.ColorHelper.xml b/contrib/session-helper/org.freedesktop.ColorHelper.xml index 88b8137..650b9c8 100644 --- a/contrib/session-helper/org.freedesktop.ColorHelper.xml +++ b/contrib/session-helper/org.freedesktop.ColorHelper.xml @@ -1,7 +1,7 @@ <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" -"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> -<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> +"https://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> +<node name="/" xmlns:doc="https://www.freedesktop.org/dbus/1.0/doc.dtd"> <interface name='org.freedesktop.ColorHelper'> <doc:doc> <doc:description> |