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

Validate the form for generating security.txt files #26

Open
joker314 opened this issue Jan 13, 2019 · 0 comments
Open

Validate the form for generating security.txt files #26

joker314 opened this issue Jan 13, 2019 · 0 comments

Comments

@joker314
Copy link
Contributor

It'd be great to make sure people creative valid security.txt files. Some validation could include:

  • Verifying that a : was included in the value of the Contact: directive (this would catch people who don't include mailto: and just put an email address directly) -- this error could probably be ignorable.
    This could also apply to [and even be a bit stricter there (require URLs only, for example)]
    • Policy
    • Hiring
  • Ensuring that a Contact: directive is set
  • Ensuring that the Preferred-Languages directive only contains commas, dashes, spaces, and letters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant