From 45498135fe44665658cc10f296bbb34e40232036 Mon Sep 17 00:00:00 2001 From: Nicholas Vinson Date: Fri, 23 Oct 2020 07:24:17 -0400 Subject: Fix REGEX_RAW_ix_io As previously implemented REGEX_RAW_ix_io would cause the URL to be printed twice. This change corrects that error. --- wgetpaste | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgetpaste b/wgetpaste index 1a9af30..a6f2264 100755 --- a/wgetpaste +++ b/wgetpaste @@ -140,7 +140,7 @@ POST_ix_io() { echo "--${boundary}--" ADDITIONAL_HEADERS_ix_io=("Content-Type: multipart/form-data; boundary=${boundary}") } -REGEX_RAW_ix_io='s|^http.*|\0|p' +REGEX_RAW_ix_io='s|^http.*|\0|' REGEX_URL_ix_io='s|^http.*|\0|p' # snippets -- cgit v1.2.3