Skip to content

Commit 1572294

Browse files
authored
bug: correctly terminate session cookie header
1 parent 1b2ad2b commit 1572294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ respond() {
3030
printf "HTTP/1.1 %s %s\r\n" "$CODE" "$*"
3131
header Server "bash-stack ${VERSION:-devbuild}"
3232
[[ ! -z "$SESSION_HEADER_TO_BE_WRITTEN" ]] && \
33-
printf "%s" "$SESSION_HEADER_TO_BE_WRITTEN"
33+
printf "%s\n" "$SESSION_HEADER_TO_BE_WRITTEN"
3434

3535
}
3636

0 commit comments

Comments
 (0)