Permalink
Browse files

bugfix: validateRequestHeaders split on ', ' in place of ','

  • Loading branch information...
Guillaume Guerin
Guillaume Guerin committed Apr 20, 2016
1 parent fb3c9a8 commit ca95cae35f7fbef5dc76d56d36077872c0756fe9
Showing with 1 addition and 1 deletion.
  1. +1 −1 cors.go
@@ -235,7 +235,7 @@ func validateRequestHeaders(requestHeaders string, config Config) bool {
return true
}
headers := strings.Split(requestHeaders, ", ")
headers := strings.Split(requestHeaders, ",")
for _, header := range headers {
match := false

0 comments on commit ca95cae

Please sign in to comment.