summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Vinson <nvinson234@gmail.com>2020-10-23 07:24:17 -0400
committerRasmus Thomsen <oss@cogitri.dev>2021-02-19 09:31:23 +0100
commit45498135fe44665658cc10f296bbb34e40232036 (patch)
tree260a345d173fab7ef5e51f3a3b14c0f284b3f71b
parent6ae7c907ca07ae2681ff0984546b6fe2b6fc5dde (diff)
downloadwgetpaste-45498135fe44665658cc10f296bbb34e40232036.tar.gz
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.
-rwxr-xr-xwgetpaste2
1 files changed, 1 insertions, 1 deletions
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