Skip to content
Snippets Groups Projects
Commit 0f9ff944 authored by Olav Morken's avatar Olav Morken
Browse files

SAML2:IdP:Metadata: Check if GET-parameter exists before attempting to use it.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@194 44740490-163a-0410-bde0-09ae8108e29a
parent 3dffe90b
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ try {
</EntityDescriptor>';
if ($_GET['output'] == 'xml') {
if (array_key_exists('output', $_GET) && $_GET['output'] == 'xml') {
header('Content-Type: application/xml');
echo $metaxml;
......
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