From 3e08f25f4ccf220b38af00349e8181f98372f99b Mon Sep 17 00:00:00 2001 From: Sergiotarxz Date: Sat, 10 Feb 2024 23:14:55 +0100 Subject: [PATCH] Adding a test to ensure absolute paths get in helper image unmangled. --- t/mojolicious/static_prefix_lite_app.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/mojolicious/static_prefix_lite_app.t b/t/mojolicious/static_prefix_lite_app.t index 24ed0af63c..cf49f8a645 100644 --- a/t/mojolicious/static_prefix_lite_app.t +++ b/t/mojolicious/static_prefix_lite_app.t @@ -47,6 +47,7 @@ subtest 'Helpers with prefix' => sub { + @@ -94,6 +95,7 @@ __DATA__ %= favicon %= favicon '/foo.ico' %= image '/foo.png' +%= image 'http://example.com/foo.png' %= javascript '/foo.js' %= stylesheet '/foo.css' %= asset_tag '/app.js'