diff src/browser/sat_browser/constants.py @ 612:5983d6be4f07 frontends_multi_profiles

browser side (web panel): schemes are now checked, if no scheme is given (or a not accepted one), http:// is used
author Goffi <goffi@goffi.org>
date Tue, 10 Feb 2015 19:38:28 +0100
parents 7af8f4ab3675
children 267761bf7f08
line wrap: on
line diff
--- a/src/browser/sat_browser/constants.py	Tue Feb 10 19:13:25 2015 +0100
+++ b/src/browser/sat_browser/constants.py	Tue Feb 10 19:38:28 2015 +0100
@@ -36,3 +36,4 @@
                      ]
 
     WEB_PANEL_DEFAULT_URL = "http://salut-a-toi.org"
+    WEB_PANEL_SCHEMES = {'http', 'https', 'ftp', 'file'}