We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Context: When using the special mail tag [_url] the code relies on $_SERVER['HTTP_REFERER'] to retrieve the url the form was posted on.
[_url]
$_SERVER['HTTP_REFERER']
Problem HTTP_REFERER is not always available. For example, when the referrer policy is set to no-referrer it will be empty.
HTTP_REFERER
no-referrer
Solution Find an alternative to determine the url the form was posted on. Idea: Hidden field posting the current url, use HTTP_REFERER as a fallback.
Related: #1491
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Context:
When using the special mail tag
[_url]
the code relies on$_SERVER['HTTP_REFERER']
to retrieve the url the form was posted on.Problem
HTTP_REFERER
is not always available. For example, when the referrer policy is set tono-referrer
it will be empty.Solution
Find an alternative to determine the url the form was posted on.
Idea: Hidden field posting the current url, use HTTP_REFERER as a fallback.
Related: #1491
The text was updated successfully, but these errors were encountered: