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

Further limit allowed characters in file path #686

Merged

Conversation

daniel-beck
Copy link
Contributor

Amends #364 and #673.

This filters out paths that include a bunch of characters that indicate something has gone wrong during the Maven release process. While there are already several characters (notably unprintable ASCII, originally motivating this filter) being filtered, this adds more, based on what is actually used: Keep basic ASCII letters, digits, _+.-, as well as / since we're looking at paths at this point.

Compared to the current filter, this doesn't remove anything that is being distributed at the moment.

Also fix the message, it hasn't been correct in a long time, most of the stuff filtered is due to % from percent-encoded characters.

@daniel-beck daniel-beck added the enhancement This is an enhancement for the tool or wrapper scripts, typically adding features. label Mar 1, 2023
daniel-beck added a commit to daniel-beck/update-center2 that referenced this pull request Mar 8, 2024
@daniel-beck daniel-beck merged commit 60ea5ad into jenkins-infra:master Mar 8, 2024
@daniel-beck daniel-beck deleted the more-version-filtering branch March 8, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an enhancement for the tool or wrapper scripts, typically adding features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants