summaryrefslogtreecommitdiff
path: root/caddytest
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2023-02-26 16:56:48 -0500
committerGitHub <noreply@github.com>2023-02-26 16:56:48 -0500
commitf3379f650a3de0e83903e3aa34d39b4ec647ee50 (patch)
treefc605900a78bca21e6628c04d8e0d936b8316da2 /caddytest
parent960150bb034dc9a549ee7289b1a4eb4abafeb30a (diff)
caddyfile: Fix heredoc fuzz crasher, drop trailing newline (#5404)
Co-authored-by: Mohammed Al Sahaf <msaa1990@gmail.com>
Diffstat (limited to 'caddytest')
-rw-r--r--caddytest/integration/caddyfile_adapt/heredoc.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddytest/integration/caddyfile_adapt/heredoc.txt b/caddytest/integration/caddyfile_adapt/heredoc.txt
index 15f8aef..cc1174d 100644
--- a/caddytest/integration/caddyfile_adapt/heredoc.txt
+++ b/caddytest/integration/caddyfile_adapt/heredoc.txt
@@ -31,7 +31,7 @@ example.com {
{
"handle": [
{
- "body": "\u003chtml\u003e\n \u003chead\u003e\u003ctitle\u003eFoo\u003c/title\u003e\n \u003cbody\u003eFoo\u003c/body\u003e\n\u003c/html\u003e\n",
+ "body": "\u003chtml\u003e\n \u003chead\u003e\u003ctitle\u003eFoo\u003c/title\u003e\n \u003cbody\u003eFoo\u003c/body\u003e\n\u003c/html\u003e",
"handler": "static_response",
"status_code": 200
}