Uh oh!
There was an error while loading. Please reload this page.
Fixing SignedXml.CheckSignature for enveloped signature with #xpointer(/) Reference - #95404
Conversation
ghost
commented
Nov 29, 2023
Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones |
#xpointer(/) Reference#xpointer(/) ReferenceUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…rity/Cryptography/Xml/Reference.cs Co-authored-by: Kevin Jones <vcsjones@github.com>
…rity/Cryptography/Xml/Reference.cs Co-authored-by: Kevin Jones <vcsjones@github.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bartonjs
left a comment
There was a problem hiding this comment.
I'm slightly displeased at how the null URI got included in this change sort of just-because (i.e. it wasn't part of the original problem description); but there's not really reason to break it apart at this point. (Except that the PR / final commit needs a better title.)
_uri values that are non-empty and don't start with # will now take a different path through the code; but it ends up having the same effect.
Adds tests for #95390 and implements a fix.