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

Ensure Content-Type correctness #126

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

mike-petrov
Copy link
Contributor

forbid executable files and set octet-stream for others

closes #125

@mike-petrov mike-petrov self-assigned this Jan 21, 2025
@mike-petrov
Copy link
Contributor Author

image

@mike-petrov
Copy link
Contributor Author

I am not sure about empty content type (https://github.com/nspcc-dev/neofs-oauthz/blob/678efff06128fa585e3ac2aa271e1b448023d090/bearer/bearer.go#L61), it's not executable right?

src/Home.tsx Outdated Show resolved Hide resolved
@roman-khimov
Copy link
Member

empty content type

That's exactly it, for empty content type. Shouldn't be required in fact, but we have it just in case.

forbid executable files and set octet-stream for others

closes #125

Signed-off-by: Mikhail Petrov <[email protected]>
@mike-petrov mike-petrov force-pushed the feature/125_ensure_content_type_correctness branch from 2308fc9 to 7b7801f Compare January 22, 2025 13:02
@roman-khimov roman-khimov merged commit 7f3ad07 into master Jan 22, 2025
2 checks passed
@roman-khimov roman-khimov deleted the feature/125_ensure_content_type_correctness branch January 22, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure Content-Type correctness
2 participants