Skip to content

Commit 0ea45bc

Browse files
authored
Merge pull request #4 from kgcurran/master
add content type for ADFS FederationMetadata.xml
2 parents afa01b8 + 36544a7 commit 0ea45bc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

http/data_source.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ func isContentTypeAllowed(contentType string) bool {
9292
allowedContentTypes := []*regexp.Regexp{
9393
regexp.MustCompile("^text/.+"),
9494
regexp.MustCompile("^application/json$"),
95+
regexp.MustCompile("^application/samlmetadata\\+xml"),
9596
}
9697

9798
for _, r := range allowedContentTypes {

0 commit comments

Comments
 (0)