-
Notifications
You must be signed in to change notification settings - Fork 6
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
fix: Check file extension instead of mimeType [WPB-10605] 🍒 #2954
Merged
borichellow
merged 3 commits into
release/candidate
from
fix/check-file-extension-instead-of-mimetype-cherry-pick
Aug 16, 2024
Merged
fix: Check file extension instead of mimeType [WPB-10605] 🍒 #2954
borichellow
merged 3 commits into
release/candidate
from
fix/check-file-extension-instead-of-mimetype-cherry-pick
Aug 16, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
type: bug / fix 🐞
👕 size: L
🚨 Potential breaking changes
labels
Aug 16, 2024
MohamadJaara
approved these changes
Aug 16, 2024
…d-of-mimetype-cherry-pick
borichellow
approved these changes
Aug 16, 2024
Quality Gate passedIssues Measures |
Datadog ReportBranch report: ✅ 0 Failed, 3074 Passed, 105 Skipped, 9.82s Total Time |
borichellow
deleted the
fix/check-file-extension-instead-of-mimetype-cherry-pick
branch
August 16, 2024 11:37
github-actions bot
added a commit
that referenced
this pull request
Aug 16, 2024
* Commit with unresolved merge conflicts * Fixed cherry-pick issues --------- Co-authored-by: boris <[email protected]> Co-authored-by: Boris Safonov <[email protected]>
github-merge-queue bot
pushed a commit
that referenced
this pull request
Aug 20, 2024
…2956) * Commit with unresolved merge conflicts * Fixed cherry-pick issues --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: boris <[email protected]> Co-authored-by: Boris Safonov <[email protected]> Co-authored-by: Mohamad Jaara <[email protected]>
echoes-hq
bot
added
the
echoes: unplanned
Any work item that isn’t part of the product or technical roadmap.
label
Aug 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
echoes: unplanned
Any work item that isn’t part of the product or technical roadmap.
🚨 Potential breaking changes
👕 size: L
type: bug / fix 🐞
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically cherry-picked based on the following PR:
Original PR description:
What's new in this PR?
Issues
in
ValidateAssetMimeTypeUseCase
when we calculate if file can be shared or not we were comparing files mimeType to list of allowed Extensions.Causes (Optional)
Just was implemented in that way long time ago.
Solutions
fix it and compare files extension to list of allowed Extensions.