-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
bugIssues or PR's relating to bugsIssues or PR's relating to bugsneeds-triageFor new issues/PRs that need to be triagedFor new issues/PRs that need to be triaged
Description
Mautic Series
7.0.x series
Mautic installed version
7.0.0 beta
Way of installing
I downloaded a release from https://www.mautic.org/mautic-releases
PHP version
8.4.0
What browsers are you seeing the problem on?
No response
What happened?
When configuring a redirect URL in a Mautic form, if the URL does not include "https://", Mautic appends the entered string to its own base URL.
In most cases, this results in an invalid redirect and a subsequent 404 error.
Imho, Mautic should either:
- Validate the redirect URL and require a valid absolute URL (with protocol), or
- Display a tooltip or warning that https:// or http:// is required.
How can we reproduce this issue?
Step 1: Go to Components → Forms and create or edit a form.
Step 2: Choose Redirect URL after submission.
Step 3: Enter a URL without https:// (e.g., leuchtfeuer.com).
Step 4: Submit the form on the frontend.
Relevant log output
-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.
Metadata
Metadata
Assignees
Labels
bugIssues or PR's relating to bugsIssues or PR's relating to bugsneeds-triageFor new issues/PRs that need to be triagedFor new issues/PRs that need to be triaged