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

Fix uploads from mobile clients (and dep updates) #2675

Merged
merged 1 commit into from
Aug 4, 2022

Conversation

BlackDex
Copy link
Collaborator

@BlackDex BlackDex commented Aug 4, 2022

This patch fixes the file upload send by the mobile clients.
It fixes #2644 by always providing a Content-Type even though one
isn't set in this specific case.

I do hope it will be fixed upstream by either Bitwarden by fixing the
client. Or Rocket by allowing to override this somehow.

Until then, we can use this patched version of multer-rs.

Issue @ Rocket: rwf2/Rocket#2299
Issue @ Bitwarden: bitwarden/mobile#2018

Also updated some dependencies.

This patch fixes the file upload send by the mobile clients.
It resolves dani-garcia#2644 by always providing a `Content-Type` even though one
isn't set in this specific case.

I do hope it will be fixed upstream by either Bitwarden by fixing the
client. Or Rocket by allowing to override this somehow.

Until then, we can use this patched version of multer-rs.

Issue @ Rocket: rwf2/Rocket#2299
Issue @ Bitwarden: bitwarden/mobile#2018

Also updated some dependencies.
@dani-garcia dani-garcia merged commit 60ed5ff into dani-garcia:main Aug 4, 2022
@BlackDex BlackDex deleted the patch-multer branch August 5, 2022 08:55
@manofthepeace
Copy link
Contributor

@BlackDex I have opened a PR here; bitwarden/mobile#2031.

@BlackDex
Copy link
Collaborator Author

BlackDex commented Aug 5, 2022

@manofthepeace thx for fixing and mentioning it!

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.

Unable to download attachment after uploading via mobile client (Android/iOS)
3 participants