diff --git a/2.Common_services/4.Wowza/0_setup.py b/2.Common_services/4.Wowza/0_setup.py index 81486e0a4eac91917de8d2959684dc4f2b56eb9f..0971d705d038d5111e5d331113b6fb15cefc34b4 100644 --- a/2.Common_services/4.Wowza/0_setup.py +++ b/2.Common_services/4.Wowza/0_setup.py @@ -70,7 +70,7 @@ def setup(interactive=True): end_index += start_index http_proxy = utils.get_conf('PROXY_HTTP') if http_proxy: - regexp = r'http(s){0,1}://(([\w_-]*)(:[\w_-]*){0,1}@){0,1}(.*)(:\d*){0,1}[/]*' + regexp = r'http(s){0,1}://(([\w_\-]*)(:[\w_\-]*){0,1}@){0,1}([\w_\-\.]*)(:[\d]*){0,1}[/]*' m = re.match(regexp, http_proxy) if not m: raise ValueError('Invalid value for PROXY_HTTP (value do not match reg exp: %s).' % regexp)