From f9bfdbc663a9ab325e422735ae51a3584a57abc5 Mon Sep 17 00:00:00 2001 From: David Jardin Date: Sat, 19 Oct 2024 12:38:02 +0200 Subject: [PATCH] allow relative URLs in wrapper module and component --- components/com_wrapper/tmpl/wrapper/default.xml | 1 + modules/mod_wrapper/mod_wrapper.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/components/com_wrapper/tmpl/wrapper/default.xml b/components/com_wrapper/tmpl/wrapper/default.xml index 7f8f5a304bcf..697171d22ab9 100644 --- a/components/com_wrapper/tmpl/wrapper/default.xml +++ b/components/com_wrapper/tmpl/wrapper/default.xml @@ -18,6 +18,7 @@ type="url" validate="url" filter="url" + relative="true" label="COM_WRAPPER_FIELD_URL_LABEL" required="true" /> diff --git a/modules/mod_wrapper/mod_wrapper.xml b/modules/mod_wrapper/mod_wrapper.xml index b44cd4c9ea3e..53215aab1974 100644 --- a/modules/mod_wrapper/mod_wrapper.xml +++ b/modules/mod_wrapper/mod_wrapper.xml @@ -28,6 +28,7 @@ type="url" validate="url" filter="url" + relative="true" label="MOD_WRAPPER_FIELD_URL_LABEL" required="true" />