azure-activedirectory-identitymodel-extensions-for-dotnet
azure-activedirectory-identitymodel-extensions-for-dotnet copied to clipboard
Remove superfluous System.Text.Encodings.Web explicit references
What? We have some partners which are running into issues due to an explicit/forced usage of 4.7.2 version of System.Text.Encodings.Web. It appears that the explicit reference is not required for Wilson to build correctly.
Why? extra references which enforce higher than necessary versions limit partners' ability to leverage our library.
To confirm: would removing this reference open us back up to #1985 ?
Can we also remove the explicit reference to System.Text.Json 4.7.2?
My understanding may be off, but I think as far as our targets, only net6 and net8 include STJ as a reference in the framework?
From https://github.com/advisories/GHSA-ghhp-997w-qr28
Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 5.0, .NET Core 3.1, and .NET Core 2.1
Our System.Text.Json
references are only needed in pre-netcore targets so we can avoid pulling in the encodings.web library for core targets by making SJT conditional to older targets.