Form HTML generated action url issue in Mautic 5 #13719
Labels
bug
Issues or PR's relating to bugs
configuration
Anything related to the Mautic configuration section
forms
Anything related to forms
mautic-5
Relates to Mautic 5.x
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
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.
The text was updated successfully, but these errors were encountered: