You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert_raises(OneLogin::RubySaml::ValidationError,"Encoded SAML Message exceeds " + OneLogin::RubySaml::SamlMessage::MAX_BYTE_SIZE.to_s + " bytes, so was rejected")do
67
+
assert_raises(OneLogin::RubySaml::ValidationError,"Encoded SAML Message exceeds #{OneLogin::RubySaml::Settings::DEFAULTS[:message_max_bytesize]} bytes, so was rejected")do
68
68
saml_message=OneLogin::RubySaml::SamlMessage.new
69
69
saml_message.send(:decode_raw_saml,bomb)
70
70
end
71
71
end
72
+
73
+
describe'with a custom setting for message_max_bytesize'do
0 commit comments