Skip to content

Enforce POST in form validation#61

Merged
sarah-witt merged 5 commits into
masterfrom
sarah/enforce-post
Jun 22, 2020
Merged

Enforce POST in form validation#61
sarah-witt merged 5 commits into
masterfrom
sarah/enforce-post

Conversation

@sarah-witt

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

Copy link
Copy Markdown
Collaborator

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

@FlorianVeaux FlorianVeaux left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread src/main/java/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration.java Outdated
Comment thread src/main/java/org/datadog/jenkins/plugins/datadog/DatadogGlobalConfiguration.java Outdated
FlorianVeaux
FlorianVeaux previously approved these changes May 12, 2020
@github-actions

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Collaborator Author

Sure, I'll update it!

@sarah-witt
sarah-witt requested a review from FlorianVeaux June 17, 2020 13:48
@sarah-witt sarah-witt removed the stale Stale - Bot reminder label Jun 17, 2020
@sarah-witt

Copy link
Copy Markdown
Collaborator Author

Updated and tested!

@FlorianVeaux

Copy link
Copy Markdown
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 <[email protected]>

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

Co-authored-by: Florian Veaux <[email protected]>

* Use require post

Co-authored-by: Florian Veaux <[email protected]>
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