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

Form HTML generated action url issue in Mautic 5 #13719

Open
1 task done
jackpassgfw opened this issue May 3, 2024 · 0 comments
Open
1 task done

Form HTML generated action url issue in Mautic 5 #13719

jackpassgfw opened this issue May 3, 2024 · 0 comments
Labels
bug Issues or PR's relating to bugs needs-triage For new issues/PRs that need to be triaged

Comments

@jackpassgfw
Copy link

jackpassgfw commented May 3, 2024

Mautic Version

5.0.x series

Way of installing

I installed with composer using https://github.com/mautic/recommended-project

PHP version

8.1

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

What happened?

When the site url is set to start with https://, the form action URL always starts with http:// in Form HTML generated code, there is difference between site URL and action URL, this issue causes an insecure warning and the request is blocked.
There is not the issue in Mautic 4.4.12, The generated action URL always keeps the same as the site URL in Mautic 4.

How can we reproduce this issue?

Step 1: Components/Forms
Step 2: Select one form
Step 3: Click Manual Copy button in Form HTML at right side
Step 4: Despite the site URL starting with https://, the action URL starts with http:// in the form's content codes.

Relevant log output

No response

Code of Conduct

  • I confirm that I have read and agree to follow this project's Code of Conduct




Care about this issue? Want to get it resolved sooner? If you are a member of Mautic, you can add some funds to the Bounties Project so that the person who completes this task can claim those funds once it is merged by a member of the core team! Read the docs here.

@jackpassgfw jackpassgfw added bug Issues or PR's relating to bugs needs-triage For new issues/PRs that need to be triaged labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues or PR's relating to bugs needs-triage For new issues/PRs that need to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant