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

[Security] New filename go through FilterFilename function while renaming #52

Merged
merged 3 commits into from
Dec 22, 2023

Conversation

raj3k
Copy link
Collaborator

@raj3k raj3k commented Dec 22, 2023

New name provided by user goes through already implemented FilterFilename function in HandleImageRename.

I've also added unit tests for FilterFilename, which was mentioned in #49

Copy link
Owner

@kevinanielsen kevinanielsen left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for the contribution!

@kevinanielsen kevinanielsen added test Add missing or fix existing test api Improvements or additions to the api go Language: Go labels Dec 22, 2023
@kevinanielsen
Copy link
Owner

Thanks again - Let me know if you want to work on other issues in the future!

@raj3k
Copy link
Collaborator Author

raj3k commented Dec 22, 2023

Definitely, happy to help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Improvements or additions to the api go Language: Go test Add missing or fix existing test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants