summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wise <pabs3@bonedaddy.net>2016-07-28 11:16:30 +0800
committerPaul Wise <pabs3@bonedaddy.net>2016-07-28 11:16:30 +0800
commit052e17fcfa1c640d9213e0e6d72cd26522fd5719 (patch)
tree5bfc2bc915760b4cd4c758af453220254076afc0
parent44b2d2cb523637346d09cad9c9353d78a38b04e6 (diff)
downloadiotop-052e17fcfa1c640d9213e0e6d72cd26522fd5719.tar.gz
Switch URLs from http to https
http URLs are insecure and can be manipulated by attackers. Suggested-by: check-all-the-things
-rwxr-xr-x.install-rpm.sh2
-rw-r--r--iotop/ioprio.py2
-rw-r--r--iotop/ui.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/.install-rpm.sh b/.install-rpm.sh
index 872375e..fc36db4 100755
--- a/.install-rpm.sh
+++ b/.install-rpm.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# http://bugs.python.org/issue644744
+# https://bugs.python.org/issue644744
python setup.py install -O1 --root="$RPM_BUILD_ROOT" --record=INSTALLED_FILES
# 'brp-compress' gzips the man pages without distutils knowing... fix this
diff --git a/iotop/ioprio.py b/iotop/ioprio.py
index 07d7c52..25fa972 100644
--- a/iotop/ioprio.py
+++ b/iotop/ioprio.py
@@ -21,7 +21,7 @@ import fnmatch
import os
import platform
-# From http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=blob;
+# From https://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=blob;
# f=configure.ac;h=770eb45ae85d32757fc3cff1d70a7808a627f9f7;hb=HEAD#l354
# i386 bit userspace under an x86_64 kernel will have its uname() appear as
# 'x86_64' but it will use the i386 syscall number, that's why we consider both
diff --git a/iotop/ui.py b/iotop/ui.py
index 2f378bc..2433e0e 100644
--- a/iotop/ui.py
+++ b/iotop/ui.py
@@ -505,7 +505,7 @@ class IOTopUI(object):
print_line(lines[i])
except UnicodeEncodeError:
# Python2: 'ascii' codec can't encode character ...
- # http://bugs.debian.org/708252
+ # https://bugs.debian.org/708252
print_line(lines[i].encode('utf-8'))
except curses.error:
pass