No Code Attached Yet
avatar bayareajenn
bayareajenn
12 Apr 2022

Steps to reproduce the issue

  1. Login to the backend of Joomla
  2. Add a new Menu Item with the Menu Item Type Wrapper -> Iframe
  3. Give it any Title - doesn't matter
  4. Click the Advanced tab
  5. Change the Auto Add field from Yes to No
  6. Click the Details tab
  7. Enter a URL without http or https into the URL field (doesn't matter what it is, let's say google.com)
  8. Click Save
  9. The URL now has http:// added even though the parameter has been set to "No" for Auto Add

Expected result

That no http or https is added to the URL field when the Auto Add field is set to no.

Actual result

http is added when it shouldn't be

System information (as much as possible)

J 4.1.2
PHP 8.1

Additional comments

Votes

# of Users Experiencing Issue
0/1
Average Importance Score
5.00

avatar bayareajenn bayareajenn - open - 12 Apr 2022
avatar joomla-cms-bot joomla-cms-bot - change - 12 Apr 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Apr 2022
avatar Quy
Quy - comment - 12 Apr 2022

Duplicate #33235?

avatar chmst
chmst - comment - 12 Apr 2022

The parameter is for the frontend, it is not used in backend.
The filter="url" in the url field writes a http:// as prefix.

avatar chmst
chmst - comment - 12 Apr 2022

@Quy not a duplicate but similiar. I made a PR - but need more opinions if this has side effects.

avatar chmst
chmst - comment - 12 Apr 2022

Closing as there is a PR. Please test #37547

avatar chmst chmst - change - 12 Apr 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-04-12 19:45:18
Closed_By chmst
avatar chmst chmst - close - 12 Apr 2022

Add a Comment

Login with GitHub to post a comment