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

reject filenames with trailing slash #376

Merged

Conversation

N-R-K
Copy link
Collaborator

@N-R-K N-R-K commented May 24, 2024

avoids funny situations later down the line such as creating /tmp/_000 when invoked as scrot /tmp/

Fixes: #228

avoids funny situations later down the line such as creating `/tmp/_000`
when invoked as `scrot /tmp/`

Fixes: resurrecting-open-source-projects#228
@N-R-K N-R-K added the bug Something isn't working label May 24, 2024
@N-R-K N-R-K added this to the v1.11 milestone May 29, 2024
@N-R-K N-R-K merged commit d688c75 into resurrecting-open-source-projects:master May 31, 2024
18 checks passed
@N-R-K N-R-K deleted the trailing_slash branch May 31, 2024 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scrot /tmp/ creates "/tmp/_000"
1 participant