commit 25eba96466a33acffe6ef4c56b4841f6c92a58fa
parent c1e673b8304ef286d0f0127ba86e03bcfae6d477
Author: Robin Schneider <ypid@riseup.net>
Date: Wed, 6 Jan 2021 12:41:49 +0100
Use HTTPS everywhere (mechanical edit using util from https-everywhere)
```Shell
~/src/EFForg/https-everywhere/utils/rewriter/rewriter.js .
```
Ref: https://github.com/EFForg/https-everywhere/tree/master/utils/rewriter
Remove suspicious file
Diffstat:
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/misc/haiku/logo.hvif b/misc/haiku/logo.hvif
Binary files differ.
diff --git a/plugins/gutenread b/plugins/gutenread
@@ -20,7 +20,7 @@
EBOOK_ID="${EBOOK_ID}"
DIR="${XDG_CACHE_HOME:-$HOME/.cache}/nnn/gutenbooks/$EBOOK_ID"
-BROWSE_LINK="http://www.gutenberg.org/ebooks/search/?sort_order=downloads"
+BROWSE_LINK="https://www.gutenberg.org/ebooks/search/?sort_order=downloads"
BROWSER="${BROWSER:-w3m}"
READER="${READER}"
@@ -33,7 +33,7 @@ if [ -n "$EBOOK_ID" ]; then
curl -L -O "https://www.gutenberg.org/files/$EBOOK_ID/$EBOOK_ID-h.zip"
unzip "$EBOOK_ID"-h.zip
else
- curl -L -o "$EBOOK_ID".epub "http://www.gutenberg.org/ebooks/$EBOOK_ID.epub.noimages"
+ curl -L -o "$EBOOK_ID".epub "https://www.gutenberg.org/ebooks/$EBOOK_ID.epub.noimages"
fi
fi
diff --git a/plugins/imgur b/plugins/imgur
@@ -521,7 +521,7 @@ if [ -n "${album_title}" ]; then
echo "Album '${album_title}' successfully created"
album_id="$(grep -Eo '"id":\s*"[^"]+"' <<<"${response}" | cut -d "\"" -f 4)"
del_id="$(grep -Eo '"deletehash":\s*"[^"]+"' <<<"${response}" | cut -d "\"" -f 4)"
- handle_album_creation_success "http://imgur.com/a/${album_id}" "${del_id}" "${album_title}"
+ handle_album_creation_success "https://imgur.com/a/${album_id}" "${del_id}" "${album_title}"
if [ "${login}" = "false" ]; then
album_id="${del_id}"
diff --git a/plugins/preview-tabbed b/plugins/preview-tabbed
@@ -42,7 +42,7 @@
# - `zathura`: PDF viewer
# - but we allways fallback to `nuke` plugin
#
-# [1]: http://tools.suckless.org/tabbed/
+# [1]: https://tools.suckless.org/tabbed/
# [2]: https://specifications.freedesktop.org/xembed-spec/xembed-spec-latest.html
#
# Shell: bash (job control is weakly specified in POSIX)
diff --git a/src/nnn.c b/src/nnn.c
@@ -876,7 +876,7 @@ static rlim_t max_openfds(void)
* Frees current memory if realloc() fails and returns NULL.
*
* As per the docs, the *alloc() family is supposed to be memory aligned:
- * Ubuntu: http://manpages.ubuntu.com/manpages/xenial/man3/malloc.3.html
+ * Ubuntu: https://manpages.ubuntu.com/manpages/xenial/man3/malloc.3.html
* macOS: https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man3/malloc.3.html
*/
static void *xrealloc(void *pcur, size_t len)