Skip to content
Snippets Groups Projects
Unverified Commit 87997e88 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Properly set MIME-type

If the publishing protocol permits MIME-based identification of content types, the content typeof the metadata instance MUST be application/samlmetadata+xml.
parent c747b17d
No related branches found
No related tags found
No related merge requests found
...@@ -244,7 +244,7 @@ try { ...@@ -244,7 +244,7 @@ try {
$t->data['metadataflat'] = htmlspecialchars($metaflat); $t->data['metadataflat'] = htmlspecialchars($metaflat);
$t->send(); $t->send();
} else { } else {
header('Content-Type: application/xml'); header('Content-Type: application/samlmetadata+xml');
echo $metaxml; echo $metaxml;
exit(0); exit(0);
......
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