No Code Attached Yet
avatar Webdongle
Webdongle
15 Oct 2024

Steps to reproduce the issue

Create a menu item type Wrapper >>> iframe
In the url field place a relative url (as per https://docs.joomla.org/Help5.x:Menu_Item:_Iframe_Wrapper#Form_Fields)

In the Advanced tab set 'Auto Add' to No
Give the menu item a Title and save

Expected result

The item will save and will appear in the front end

Actual result

The url is prefixed with http://http///
An error message appears
Invalid URL: URL schema is missing in http:///index.php/typography. Please add one of the following at the beginning: http, https, ftp, ftps, gopher, mailto, news, prospero, telnet, rlogin, sftp, tn3270, wais, mid, cid, nntp, tel, urn, ldap, file, fax, modem, git.
(I used typography as the target)

System information (as much as possible)

Additional comments

I tried by prefixing the relative url with http:/// as said in the error message and it saved but prefixed the url with http://

Looks like the 'Auto Add' setting is being ignored and the docs are incorrect?

avatar Webdongle Webdongle - open - 15 Oct 2024
avatar Webdongle Webdongle - change - 15 Oct 2024
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 15 Oct 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Oct 2024
avatar rdeutz
rdeutz - comment - 18 Oct 2024

Joomla Version?

avatar rdeutz
rdeutz - comment - 18 Oct 2024

Tried to break it with 5.2, works as I think it should work.

avatar SniperSister
SniperSister - comment - 19 Oct 2024

See #44315 and #44316

avatar SniperSister
SniperSister - comment - 19 Oct 2024

See #44315 and #44314

avatar richard67 richard67 - change - 19 Oct 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-10-19 13:25:17
Closed_By richard67
avatar richard67 richard67 - close - 19 Oct 2024
avatar richard67
richard67 - comment - 19 Oct 2024

Closing as having a pull request. Please test #44314 . Thanks in advance.

Add a Comment

Login with GitHub to post a comment