diff --git a/entrypoint.sh b/entrypoint.sh index caaae13..87d5f34 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -5,11 +5,11 @@ set -ex INPUT_SEPARATOR="${INPUT_SEPARATOR//\%/%25}" INPUT_SEPARATOR="${INPUT_SEPARATOR//\./%2E}" -NEWLINE_SEPARATOR="\n" +NEWLINE_SEPARATOR='\n' URLENCODED_NEWLINE_SEPARATOR='%0A' INPUT_SEPARATOR="${INPUT_SEPARATOR//$NEWLINE_SEPARATOR/$URLENCODED_NEWLINE_SEPARATOR}" -CARRIAGE_RETURN="\r" +CARRIAGE_RETURN='\r' URLENCODED_CARRIAGE_RETURN='%0D' INPUT_SEPARATOR="${INPUT_SEPARATOR//$CARRIAGE_RETURN/$URLENCODED_CARRIAGE_RETURN}"