diff --git a/src/Android/Properties/AndroidManifest.xml b/src/Android/Properties/AndroidManifest.xml index 5e0839872..67cfb1652 100644 --- a/src/Android/Properties/AndroidManifest.xml +++ b/src/Android/Properties/AndroidManifest.xml @@ -1,5 +1,5 @@  - + diff --git a/src/Core/Services/ApiService.cs b/src/Core/Services/ApiService.cs index 436916aff..dde3b9505 100644 --- a/src/Core/Services/ApiService.cs +++ b/src/Core/Services/ApiService.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Linq; using System.Net; using System.Net.Http; using System.Text; @@ -975,7 +976,19 @@ namespace Bit.Core.Services private bool IsJsonResponse(HttpResponseMessage response) { - return (response.Content?.Headers?.ContentType?.MediaType ?? string.Empty) == "application/json"; + if (response.Content?.Headers is null) + { + return false; + } + + if (response.Content.Headers.ContentType?.MediaType == "application/json") + { + return true; + } + + return response.Content.Headers.TryGetValues("Content-Type", out var vals) + && + vals?.Any(v => v.Contains("application/json")) is true; } #endregion diff --git a/src/iOS.Autofill/Info.plist b/src/iOS.Autofill/Info.plist index c5466ecfb..2f9d98cbd 100644 --- a/src/iOS.Autofill/Info.plist +++ b/src/iOS.Autofill/Info.plist @@ -11,7 +11,7 @@ CFBundleIdentifier com.8bit.bitwarden.autofill CFBundleShortVersionString - 2023.4.1 + 2023.5.0 CFBundleVersion 1 CFBundleLocalizations diff --git a/src/iOS.Extension/Info.plist b/src/iOS.Extension/Info.plist index 0d913e4b2..5408b7a2d 100644 --- a/src/iOS.Extension/Info.plist +++ b/src/iOS.Extension/Info.plist @@ -11,7 +11,7 @@ CFBundleIdentifier com.8bit.bitwarden.find-login-action-extension CFBundleShortVersionString - 2023.4.1 + 2023.5.0 CFBundleLocalizations en diff --git a/src/iOS.ShareExtension/Info.plist b/src/iOS.ShareExtension/Info.plist index d86024116..4ece99627 100644 --- a/src/iOS.ShareExtension/Info.plist +++ b/src/iOS.ShareExtension/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 2023.4.1 + 2023.5.0 CFBundleVersion 1 MinimumOSVersion diff --git a/src/iOS/Info.plist b/src/iOS/Info.plist index 256054ab5..b25a764ad 100644 --- a/src/iOS/Info.plist +++ b/src/iOS/Info.plist @@ -11,7 +11,7 @@ CFBundleIdentifier com.8bit.bitwarden CFBundleShortVersionString - 2023.4.1 + 2023.5.0 CFBundleVersion 1 CFBundleIconName