mirror of
https://github.com/lammertb/libhttp.git
synced 2025-08-07 16:02:55 +03:00
Linux shell scripts used as CGI process must still return \r\n at the end of header lines
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Content-Type: text/plain"
|
||||
echo
|
||||
printf "Content-Type: text/plain\r\n"
|
||||
printf "\r\n"
|
||||
|
||||
echo "This is a shell script called by CGI:"
|
||||
echo
|
||||
|
Reference in New Issue
Block a user