summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-udraw-ps3.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-07-18 13:33:44 +0300
committerJiri Kosina <jkosina@suse.cz>2020-07-20 13:24:41 +0300
commit238b5bdefdf9767f5de8574ed79ead397eccf05e (patch)
tree9251bfffa1eae26c66b379b3d3f296fd3bf3af4b /drivers/hid/hid-udraw-ps3.c
parentb266eacf5f02b24de8a5a4de53de9acdd7ae8afd (diff)
downloadlinux-238b5bdefdf9767f5de8574ed79ead397eccf05e.tar.xz
HID: udraw-ps3: Replace HTTP links with HTTPS ones
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Acked-by: Bastien Nocera <hadess@hadess.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-udraw-ps3.c')
-rw-r--r--drivers/hid/hid-udraw-ps3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-udraw-ps3.c b/drivers/hid/hid-udraw-ps3.c
index b0fbd11aa0fc..b2e17ef2ea27 100644
--- a/drivers/hid/hid-udraw-ps3.c
+++ b/drivers/hid/hid-udraw-ps3.c
@@ -16,7 +16,7 @@ MODULE_LICENSE("GPL");
/*
* Protocol information from:
- * http://brandonw.net/udraw/
+ * https://brandonw.net/udraw/
* and the source code of:
* https://vvvv.org/contribution/udraw-hid
*/