Skip to content

Commit 3ed4da3

Browse files
authored
Merge pull request #578 from onelogin/fix_xpath
See #577. Fix XPath typo incompatible with Rexml 3.2.5
2 parents 61d09d0 + b40edbf commit 3ed4da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/onelogin/ruby-saml/response.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ def validate_signature
828828
# otherwise, review if the decrypted assertion contains a signature
829829
sig_elements = REXML::XPath.match(
830830
document,
831-
"/p:Response[@ID=$id]/ds:Signature]",
831+
"/p:Response[@ID=$id]/ds:Signature",
832832
{ "p" => PROTOCOL, "ds" => DSIG },
833833
{ 'id' => document.signed_element_id }
834834
)

0 commit comments

Comments
 (0)