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

[form] Add a control list of sources for reporting #2546

Open
karlcow opened this issue Jul 10, 2018 · 1 comment
Open

[form] Add a control list of sources for reporting #2546

karlcow opened this issue Jul 10, 2018 · 1 comment

Comments

@karlcow
Copy link
Member

karlcow commented Jul 10, 2018

When an issue is reported it adds the

<!-- @reported_with: something_here -->

To strengthen a bit the form and make it easier for partners to contribute in more interesting ways, we would be better to have a controlled list of keywords.

Currently we have:

  • desktop-reporter (from the report site issue button on Desktop)
  • mobile-reporter (from the report site issue button on Android)
  • addon-reporter (from webcompat addon instal)
  • web (directly from the website)
  • something (from another project)

Some of these are inserted through the GET request and the &src=something argument. We need to make it stricter and just accept what we consider legit for the project.

@karlcow
Copy link
Member Author

karlcow commented Jan 10, 2019

We probably need to review all of these parameters and see if we can reduce the number of things which are allowed. I'm in the process of documenting the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant