[web-router] update the white list for favicons (#8024)

This commit is contained in:
Jakob Ackermann
2019-08-12 07:17:02 +02:00
committed by Harshavardhana
parent 35427a017d
commit 1b258da108
3 changed files with 18 additions and 6 deletions

View File

@@ -178,7 +178,9 @@ func getRedirectLocation(urlPath string) (rLocation string) {
SlashSeparator,
"/webrpc",
"/login",
"/favicon.ico",
"/favicon-16x16.png",
"/favicon-32x32.png",
"/favicon-96x96.png",
}, urlPath) {
rLocation = minioReservedBucketPath + urlPath
}