-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
security.txt: str_ends_with(): Argument #1 ($haystack) must be of type string, array given #1435
Comments
It would appear I cannot save the security.txt template with any content, regardless of the value of the field. It is unrelated to the new line feed/enter of a new line, the value being blank also causes this error. It just so happens we had a report of non-compliance to the RFC which I tested with, but have since discovered the issue. |
Fixed in the just released versions: 3.4.74, 4.0.44, and 5.0.0-beta.7 |
Awesome, thank you! |
Describe the bug
To comply with the RFC for security.txt https://www.rfc-editor.org/rfc/rfc9116#section-2.2 the security.txt
If I try and add a new line and save the field a PHP error is thrown.
To reproduce
Steps to reproduce the behaviour:
seomatic/global/security/default
Expected behaviour
The security.txt template to be saved without error.
Versions
The text was updated successfully, but these errors were encountered: