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

Enforce POST in form validation #61

Merged
merged 5 commits into from
Jun 22, 2020
Merged

Enforce POST in form validation #61

merged 5 commits into from
Jun 22, 2020

Conversation

sarah-witt
Copy link
Collaborator

@sarah-witt sarah-witt commented Apr 28, 2020

What does this PR do?

Enforces post requests in form validation.

Additional Notes

Following:
https://www.jenkins.io/doc/developer/security/form-validation/

Release Notes

Review checklist (to be filled by reviewers)

  • Feature or bug fix MUST have appropriate tests (unit, integration, etc...)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have one changelog/ label attached. If applicable it should have the backward-incompatible label attached.
  • PR should not have do-not-merge/ label attached.
  • If Applicable, issue must have kind/ and severity/ labels attached at least.

@sarah-witt sarah-witt marked this pull request as ready for review April 28, 2020 14:15
FlorianVeaux
FlorianVeaux previously approved these changes May 12, 2020
Copy link
Contributor

@FlorianVeaux FlorianVeaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 small nits, looks good

…lConfiguration.java

Co-authored-by: Florian Veaux <florian.veaux@datadoghq.com>
…lConfiguration.java

Co-authored-by: Florian Veaux <florian.veaux@datadoghq.com>
FlorianVeaux
FlorianVeaux previously approved these changes May 12, 2020
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days.
Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity.

@github-actions github-actions bot added the stale Stale - Bot reminder label Jun 12, 2020
@FlorianVeaux
Copy link
Contributor

@sarah-witt Is that ready to be merged ? Can we rebase first also? I don't think POST exists with our current dependencies, we may have to use RequirePOST instead

@sarah-witt
Copy link
Collaborator Author

Sure, I'll update it!

@sarah-witt
Copy link
Collaborator Author

Updated and tested!

@FlorianVeaux
Copy link
Contributor

:shipit:

@sarah-witt sarah-witt added the changelog/Fixed Fixed features results into a bug fix version bump label Jun 22, 2020
@sarah-witt sarah-witt merged commit cf0b421 into master Jun 22, 2020
@sarah-witt sarah-witt deleted the sarah/enforce-post branch June 22, 2020 13:52
sarah-witt added a commit that referenced this pull request Jun 22, 2020
* enforce POST in form validation

* Update src/main/java/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration.java

Co-authored-by: Florian Veaux <florian.veaux@datadoghq.com>

* Update src/main/java/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration.java

Co-authored-by: Florian Veaux <florian.veaux@datadoghq.com>

* Use require post

Co-authored-by: Florian Veaux <florian.veaux@datadoghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/Fixed Fixed features results into a bug fix version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants