From d950fe0e98d6327d073045a0a8b3dbe7ade53149 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 4 Oct 2021 10:49:09 -0400 Subject: Fix lobsters/tildenews login They started sending links with "&username=june" tacked on after the token. Don't know why since if you load the form with just the token in the URL it still knows your username, and it's not submitted as a hidden field or anything, but whatever. --- bin/sup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sup.sh b/bin/sup.sh index 1772f312..a261cb7f 100644 --- a/bin/sup.sh +++ b/bin/sup.sh @@ -151,7 +151,7 @@ lobsters() { git fetch-email -i -M Trash \ -F "${lobstersFrom}" -T "${email}" \ -S 'Reset your password' | - sed -n 's|^https://.*[?]token=\(.*\)|\1|p' + sed -n 's|^https://.*[?]token=\([^&]*\).*|\1|p' ) echo 'Fetching CSRF token...' csrf=$( -- cgit 1.4.1
summary refs log tree commit diff
path: root/home/.config/htop (unfollow)
Commit message (Expand)Author
2018-02-05Set title in gfcocoaJune McEnroe
2018-02-05Double-buffer gfb frontendJune McEnroe
2018-02-05Rewrite gfxx bit handlingJune McEnroe
2018-02-05Add flip option to gfxxJune McEnroe
2018-02-05Remove gfxx reverse optionJune McEnroe
2018-02-04Fix gfxx draw stop conditionJune McEnroe
2018-02-04Reuse CGColorSpace and CGDataProvider in gfcocoaJune McEnroe
2018-02-04Mark mac target phonyJune McEnroe
2018-02-04Set up Makefile for gfxx-cocoa or gfxx-fbJune McEnroe
2018-02-04Avoid doing excessive work in gfxxJune McEnroe
2018-02-04Handle window resizing in gfcocoaJune McEnroe
2018-02-04Set cinoptionsJune McEnroe
2018-02-04Tweak colorscheme moreJune McEnroe
2018-02-04Color MatchParen DarkYellowJune McEnroe
2018-02-04Add palette sampling to gfxxJune McEnroe
2018-02-04Add 4-bit RGB to gfxxJune McEnroe
2018-02-04Add Quit menu item to gfcocoaJune McEnroe
2018-02-04Switch back to sane Objective-C styleJune McEnroe
2018-02-04Quit gfcocoa when window closesJune McEnroe
2018-02-03Apparently this is how people write Objective-CJune McEnroe