From e867a2327f3844f03f7db67c42baa38347feae75 Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Sun, 28 Apr 2019 15:43:17 +0000 Subject: [PATCH] Replace urlencoded @ symbol The fix for https://github.com/dutchcoders/transfer.sh/issues/215 led to @ being encoded as %40 in filenames in the URL returned, which is awkward when working with social media scrapes since ArchiveBot normalises it to @ again. --- transfer.notkiska.pw-upload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transfer.notkiska.pw-upload b/transfer.notkiska.pw-upload index 9760e78..8d57484 100755 --- a/transfer.notkiska.pw-upload +++ b/transfer.notkiska.pw-upload @@ -1,2 +1,2 @@ #!/bin/bash -curl -s --upload-file "$1" https://transfer.notkiska.pw/; echo +curl -s --upload-file "$1" https://transfer.notkiska.pw/ | sed 's,%40,@,g'; echo