PR #32342 broke the functionality of the wrapper menu item by changing it to a type url and adding url validation
There is a parameter in the optiion for this menu type called autoadd
By default, http:// will be added unless it detects http:// or https:// in the URL you provide. This allows you to switch off this functionality.
This cannot work when the field is a type url with validate and filter url
As a result it is not possible to have a wrapper to an internal url as http is always added
If it is not desired to be able to have an internal url then the following code is useless and should be cleaned up
joomla-cms/components/com_wrapper/tmpl/wrapper/default.xml
Lines 57 to 67 in a950b53
joomla-cms/components/com_wrapper/src/View/Wrapper/HtmlView.php
Lines 87 to 106 in a950b53
joomla-cms/administrator/language/en-GB/com_wrapper.ini
Lines 7 to 8 in a950b53
If it is desired to allown internal urls then this PR #32342 needs to be reverted
Labels |
Added:
No Code Attached Yet
|
I guess so - although that PR doesn't completely fix the issue created by the original PR. It does make the idea of having a RLDQ a bit of a joke as it is now over 1 year since it was added.
Labels |
Added:
bug
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-09-01 14:00:36 |
Closed_By | ⇒ | brianteeman |
closing as a duplicate
Is PR #37547 related to this issue?