summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-10-30 15:53:10 -0700
committerCorey Hulen <corey@hulen.com>2015-10-30 15:53:10 -0700
commit3d9db4c4812fe49ac9202538d77f1c872cf052a7 (patch)
tree60d4312c5cb44a6a567fb3d9f39a6d58efa8e4b4 /web
parentfafd0ece3e5591ddb35cea219b79f41937bcced1 (diff)
parentdd978c3e57f2ee297746c317a8ac246f0a2b5d22 (diff)
downloadchat-3d9db4c4812fe49ac9202538d77f1c872cf052a7.tar.gz
chat-3d9db4c4812fe49ac9202538d77f1c872cf052a7.tar.bz2
chat-3d9db4c4812fe49ac9202538d77f1c872cf052a7.zip
Merge pull request #1251 from rgarmsen2295/plt-941
PLT-941 Adds Safari 7 and IE10 to the list of unsupported browsers
Diffstat (limited to 'web')
-rw-r--r--web/web.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/web.go b/web/web.go
index 424adea93..34f4df08f 100644
--- a/web/web.go
+++ b/web/web.go
@@ -132,7 +132,7 @@ func watchAndParseTemplates() {
}
}
-var browsersNotSupported string = "MSIE/8;MSIE/9;Internet Explorer/8;Internet Explorer/9"
+var browsersNotSupported string = "MSIE/8;MSIE/9;MSIE/10;Internet Explorer/8;Internet Explorer/9;Internet Explorer/10;Safari/7"
func CheckBrowserCompatability(c *api.Context, r *http.Request) bool {
ua := user_agent.New(r.UserAgent())
@@ -143,7 +143,7 @@ func CheckBrowserCompatability(c *api.Context, r *http.Request) bool {
version := strings.Split(browser, "/")
if strings.HasPrefix(bname, version[0]) && strings.HasPrefix(bversion, version[1]) {
- c.Err = model.NewAppError("CheckBrowserCompatability", "Your current browser is not supported, please upgrade to one of the following browsers: Google Chrome 21 or higher, Internet Explorer 10 or higher, FireFox 14 or higher", "")
+ c.Err = model.NewAppError("CheckBrowserCompatability", "Your current browser is not supported, please upgrade to one of the following browsers: Google Chrome 21 or higher, Internet Explorer 11 or higher, FireFox 14 or higher, Safari 8 or higher", "")
return false
}
}