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 4289263 commit 3879a5eCopy full SHA for 3879a5e
lib/ruby_saml/xml/decoder.rb
@@ -61,7 +61,7 @@ def base64_encode(string)
61
# @param string [String] string to check the encoding of
62
# @return [true, false] whether or not the string is base64 encoded
63
def base64_encoded?(string)
64
- string.gsub(/[\s\r\n]|\\r|\\n/, '').match?(BASE64_FORMAT)
+ string.gsub(/\s|\\r|\\n/, '').match?(BASE64_FORMAT)
65
end
66
67
# Attempt inflating a string, if it fails, return the original string.
0 commit comments