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

[JENKINS-74081] Migrate legacy checkUrl in /ValidatingStringParameterDefinition/index.jelly #146

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

yaroslavafenkin
Copy link
Contributor

https://issues.jenkins.io/browse/JENKINS-74081

Testing done

Before the change
After the change

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@yaroslavafenkin yaroslavafenkin requested a review from a team as a code owner November 15, 2024 14:56
public FormValidation doValidate(@QueryParameter("regex") String regex,
@QueryParameter("failedValidationMessage") final String failedValidationMessage,
@QueryParameter("value") final String value) {
public FormValidation doValidate(@QueryParameter String regex, @QueryParameter final String failedValidationMessage,

Check warning

Code scanning / Jenkins Security Scan

Stapler: Missing permission check Warning

Potential missing permission check in DescriptorImpl#doValidate
Copy link
Contributor

@res0nance res0nance left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for fixing this

@res0nance res0nance merged commit 75d865a into jenkinsci:master Nov 16, 2024
17 checks passed
@MarkEWaite
Copy link
Contributor

JENKINS-74871 reports that the most recent release of the plugin no longer shows the provided value as a parameter of the build.


<f:entry title="${h.xmlEscape(it.name)}" description="${it.formattedDescription}">
<div name="parameter" description="${it.formattedDescription}">
<input type="hidden" name="name" value="${it.name}" />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops, I guess this line had to stay. I'll fix this tomorrow morning CET.

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

Successfully merging this pull request may close these issues.

3 participants