File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ def issuers
300300 end
301301
302302 nodes = issuer_response_nodes + issuer_assertion_nodes
303- nodes . map { |node | Utils . element_text ( node ) } . compact . uniq
303+ nodes . filter_map { |node | Utils . element_text ( node ) } . uniq
304304 end
305305 end
306306
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class SamlMessage
2020 ASSERTION = "urn:oasis:names:tc:SAML:2.0:assertion"
2121 PROTOCOL = "urn:oasis:names:tc:SAML:2.0:protocol"
2222
23- BASE64_FORMAT = %r(\A ([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?\Z ) . freeze
23+ BASE64_FORMAT = %r(\A ([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?\Z )
2424 @@mutex = Mutex . new
2525
2626 # @return [Nokogiri::XML::Schema] Gets the schema object of the SAML 2.0 Protocol schema
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class Utils
2727 |
2828 (\d +)W # 8: Weeks
2929 )
30- $/x . freeze
30+ $/x
3131 UUID_PREFIX = +'_'
3232
3333 # Checks if the x509 cert provided is expired.
You can’t perform that action at this time.
0 commit comments