From 6e2c9856b98faa2fc79ae12883ddf5acd1098f8e Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Mon, 3 Aug 2026 15:41:22 -0500 Subject: fix malformed image URL and harden img rewrite 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. --- content/blog/2023-01-05-mass-unlike-tumblr-posts.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/blog') 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 -- cgit v1.2.3