aboutsummaryrefslogtreecommitdiff
path: root/content/blog
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-03 15:41:22 -0500
committerChristian Cleberg <[email protected]>2026-08-03 15:41:22 -0500
commit6e2c9856b98faa2fc79ae12883ddf5acd1098f8e (patch)
tree213d5300dc8b4dfce347d98fa955d82ab2b6845a /content/blog
parentc31e8bfa414cdc1fe035a5d6d55a477f77525dd7 (diff)
downloadcleberg.net-main.tar.gz
cleberg.net-main.tar.bz2
cleberg.net-main.zip
fix malformed image URL and harden img rewriteHEADmain
Correct a https:/// typo in the tumblr post org source that produced a 404ing cross-origin image URL. Because the extra slash meant the string no longer matched, rewrite_img_urls() skipped it and shipped the broken URL. Make the rewrite pattern tolerate stray slashes so a source typo can't silently pass through un-rewritten again.
Diffstat (limited to 'content/blog')
-rw-r--r--content/blog/2023-01-05-mass-unlike-tumblr-posts.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/blog/2023-01-05-mass-unlike-tumblr-posts.org b/content/blog/2023-01-05-mass-unlike-tumblr-posts.org
index c3ce8fa..6b4261f 100644
--- a/content/blog/2023-01-05-mass-unlike-tumblr-posts.org
+++ b/content/blog/2023-01-05-mass-unlike-tumblr-posts.org
@@ -58,7 +58,7 @@ this (this is in Firefox, Chromium should be similar):
#+caption: Firefox Dev Tools
#+attr_html: :alt Firefox Dev Tools' Console tab will allow you to paste this command.
-[[https:///img.cleberg.net/blog/20230105-mass-unlike-tumblr-posts/dev_console.webp]]
+[[https://img.cleberg.net/blog/20230105-mass-unlike-tumblr-posts/dev_console.webp]]
All you need to do is paste the following snippet into the dev console.
This code will collect all unlike buttons (=elements=) and then click