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

StaticFileHandler.GetFileData file open permissions changed to read permissions #47

Closed
i4004 opened this issue Jan 6, 2020 · 0 comments
Labels
area-core bug Something isn't working good-first-issue Issues identified as good for first-time contributors

Comments

@i4004
Copy link
Member

i4004 commented Jan 6, 2020

Read permissions is enough for static files.
File shared also should be respected for concurrent requests.

using var stream = File.Open(relativeFilePath, FileMode.Open, FileAccess.Read, FileShare.Read);
@i4004 i4004 added area-core bug Something isn't working good-first-issue Issues identified as good for first-time contributors labels Jan 6, 2020
@i4004 i4004 closed this as completed in dc9c3e8 Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core bug Something isn't working good-first-issue Issues identified as good for first-time contributors
Projects
None yet
Development

No branches or pull requests

1 participant