Explorar el Código

Add test scripts for #768: Support CGI scripts with <LF> instead of <CRLF>

bel2125 hace 6 años
padre
commit
9e243206e6
Se han modificado 2 ficheros con 10 adiciones y 0 borrados
  1. 5 0
      test/cgidir/test-crlf.cgi
  2. 5 0
      test/cgidir/test-lf.cgi

+ 5 - 0
test/cgidir/test-crlf.cgi

@@ -0,0 +1,5 @@
+#!/bin/sh
+printf "Content-Type: text/plain\r\n"
+printf "\r\n"
+printf "This should be the first line\r\n"
+

+ 5 - 0
test/cgidir/test-lf.cgi

@@ -0,0 +1,5 @@
+#!/bin/sh
+printf "Content-Type: text/plain\n"
+printf "\n"
+printf "This should be the first line\n"
+