diff --git a/server/mdm/mdm.go b/server/mdm/mdm.go index aaebd2300b..3cf0f856cd 100644 --- a/server/mdm/mdm.go +++ b/server/mdm/mdm.go @@ -65,7 +65,7 @@ func GetRawProfilePlatform(profile []byte) string { return "darwin" } - if prefixMatches(trimmedProfile, ""), expected: "windows", }, + { + name: "Windows xml with comment", + input: []byte(""), + expected: "windows", + }, { name: "Whitespace before prefix", input: []byte(" "),