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

Skip processing of media root path by MediaFileStoreResolverMiddleware #16760

Merged
merged 6 commits into from
Sep 20, 2024

Conversation

AndreySurkov
Copy link
Contributor

When someone requests root media path like /media or /media/ with OrchardCore.Media.AmazonS3 module enabled then floowing error message writes to log "Error retrieving file from media file store for request path /".
This does not look like exceptional situation so I added a code to skip this handling.

@hishamco hishamco enabled auto-merge (squash) September 20, 2024 12:23
@hishamco hishamco merged commit 4d8af4d into OrchardCMS:main Sep 20, 2024
10 checks passed
@OrchardCMS OrchardCMS deleted a comment from allcontributors bot Sep 20, 2024
@hishamco
Copy link
Member

Thanks, @AndreySurkov for your contribution

@all-contributors please add @AndreySurkov for code.

Copy link
Contributor

@hishamco

@AndreySurkov already contributed before to code

@hishamco
Copy link
Member

Thanks :)

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.

3 participants