From 1ca2f1b3135a465e8f92f3ea347903a47340b1f7 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 1 May 2023 13:15:13 -0500 Subject: Convert line endings --- yawp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yawp.sh b/yawp.sh index b74febb..f819862 100755 --- a/yawp.sh +++ b/yawp.sh @@ -36,7 +36,7 @@ EOF form_decode() { # form_decode << INPUT (application/x-www-form-urlencoded) # TODO: multipart/form-data ..? - awk '/%[0-9A-Fa-f][0-9A-Fa-f]/ { + crlf | awk '/%[0-9A-Fa-f][0-9A-Fa-f]/ { while (s = match($0, "%[0-9A-Fa-f][0-9a-fA-F]") > 0) { chr = ""; hexdigits = "0123456789abcdef"; -- cgit 1.4.1-21-gabe81