From 40ae076290c0902777171db898ab471f06b082dc Mon Sep 17 00:00:00 2001 From: Nicholas Vinson Date: Thu, 25 Feb 2021 17:12:03 -0500 Subject: Add missing dpaste escape functions escape_description_dpaste() and escape_input_dpaste() are missing which causes the default escape function to be used. This results in mangled pastes. Fixes: #22 --- wgetpaste | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wgetpaste b/wgetpaste index 0f8219b..ed0bdac 100755 --- a/wgetpaste +++ b/wgetpaste @@ -110,6 +110,8 @@ Python Python%Interactive/Traceback Ruby Ruby%HTML%(ERB) SQL XML" LANGUAGE_VALUES_dpaste="% Apache Bash Css Diff DjangoTemplate Haskell JScript Python PythonConsole \ Ruby Rhtml Sql Xml" EXPIRATIONS_dpaste=$(printf "%s " {1..365}) +escape_description_dpaste() { echo "$*"; } +escape_input_dpaste() { echo "$*"; } POST_dpaste() { local title="${2}" local syntax="${3}" -- cgit v1.2.3