We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5d7db9 commit 8793ef5Copy full SHA for 8793ef5
lib/onelogin/ruby-saml/saml_message.rb
@@ -19,8 +19,7 @@ class SamlMessage
19
ASSERTION = "urn:oasis:names:tc:SAML:2.0:assertion"
20
PROTOCOL = "urn:oasis:names:tc:SAML:2.0:protocol"
21
22
- BASE64_FORMAT = %r(\A[A-Za-z0-9+/]{4}*[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=?\Z)
23
-
+ BASE64_FORMAT = %r(\A([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?\Z)
24
@@mutex = Mutex.new
25
26
# @return [Nokogiri::XML::Schema] Gets the schema object of the SAML 2.0 Protocol schema
0 commit comments