Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iframe Menu Item -> Advanced tab Auto Add set to "No" is ignored #37545

Closed
bayareajenn opened this issue Apr 12, 2022 · 4 comments
Closed

Iframe Menu Item -> Advanced tab Auto Add set to "No" is ignored #37545

bayareajenn opened this issue Apr 12, 2022 · 4 comments

Comments

@bayareajenn
Copy link

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

@Quy
Copy link
Contributor

Quy commented Apr 12, 2022

Duplicate #33235?

@chmst
Copy link
Contributor

chmst commented Apr 12, 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.

@chmst
Copy link
Contributor

chmst commented Apr 12, 2022

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

@chmst
Copy link
Contributor

chmst commented Apr 12, 2022

Closing as there is a PR. Please test #37547

@chmst chmst closed this as completed Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants