From 774bd6f8650a7cfa45a977b54ba07d48faa215f6 Mon Sep 17 00:00:00 2001 From: Beto Aveiga Date: Wed, 4 Sep 2024 16:21:39 -0500 Subject: [PATCH] Output php configurations without escaping them #625 (#681) * ISSUE-625: output php configurations without scaping them * ISSUE-625: test url with parameters * ISSUE-625: add url with parameters * ISSUE-625: fix visual diff with parameters end result * ISSUE-625: silly typo :p * ISSUE-625: not needed --- .github/workflows/TestTugboat.yml | 1 + .tugboat/config.yml | 1 + scaffold/tugboat/config.yml.twig | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/TestTugboat.yml b/.github/workflows/TestTugboat.yml index d3d7c5dc..ad97add6 100644 --- a/.github/workflows/TestTugboat.yml +++ b/.github/workflows/TestTugboat.yml @@ -53,6 +53,7 @@ jobs: echo " - foo" >> .tugboat/config.drainpipe-override.yml echo " urls:" >> .tugboat/config.drainpipe-override.yml echo " - /" >> .tugboat/config.drainpipe-override.yml + echo " - /?v=1" >> .tugboat/config.drainpipe-override.yml echo " screenshot:" >> .tugboat/config.drainpipe-override.yml echo " timeout: 45" >> .tugboat/config.drainpipe-override.yml echo " visualdiff:" >> .tugboat/config.drainpipe-override.yml diff --git a/.tugboat/config.yml b/.tugboat/config.yml index b6c05141..18b0abe8 100644 --- a/.tugboat/config.yml +++ b/.tugboat/config.yml @@ -28,6 +28,7 @@ services: - foo urls: - / + - '/?v=1' screenshot: timeout: 45 visualdiff: diff --git a/scaffold/tugboat/config.yml.twig b/scaffold/tugboat/config.yml.twig index 55f38eec..86f50502 100644 --- a/scaffold/tugboat/config.yml.twig +++ b/scaffold/tugboat/config.yml.twig @@ -29,7 +29,7 @@ services: {% endif %} {% if overrides.php|length > 0 %} -{{ overrides.php }} +{{ overrides.php|raw }} {% endif %} {{ database_type }}: