Skip to content
Snippets Groups Projects
Commit 22b8b576 authored by Frank Tamás's avatar Frank Tamás
Browse files

Remove enforcing the entity ID to be a URL

parent d2fa01c8
No related branches found
No related tags found
No related merge requests found
...@@ -230,11 +230,6 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerMDX extends SimpleSAML_Metadata_ ...@@ -230,11 +230,6 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerMDX extends SimpleSAML_Metadata_
assert('is_string($index)'); assert('is_string($index)');
assert('is_string($set)'); assert('is_string($set)');
if (!preg_match('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@', $index)) {
SimpleSAML_Logger::info('MetaData - Handler.MDX: EntityID/index [' . $index . '] does not look like a URL. Skipping.' );
return NULL;
}
SimpleSAML_Logger::info('MetaData - Handler.MDX: Loading metadata entity [' . $index . '] from [' . $set . ']' ); SimpleSAML_Logger::info('MetaData - Handler.MDX: Loading metadata entity [' . $index . '] from [' . $set . ']' );
/* Read from cache if possible. */ /* Read from cache if possible. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment