From 27dabfab5419cbf00f3b80683f31453db8bed1f9 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 10 Dec 2019 10:08:41 +0100 Subject: T1843: fix proxy URL handling when running through GCC preprocessor Newer GCC version (8.3 in Debian Buster) no longer support the -ansi option as in GCC 4 used in Debian Jessie. Thus the URL which is used as regex for the proxy must be escaped properly - else the // in the URL is treated as C++ comment. --- interface-definitions/system-proxy.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/system-proxy.xml.in b/interface-definitions/system-proxy.xml.in index 4b21139a6..540fa97e3 100644 --- a/interface-definitions/system-proxy.xml.in +++ b/interface-definitions/system-proxy.xml.in @@ -11,7 +11,7 @@ Proxy URL - http://[a-z0-9\.]+$ + http:\/\/[a-z0-9\.]+$ @@ -27,7 +27,7 @@ Proxy username - ^[a-z0-9-_\.]{1,100}$ + [a-z0-9-_\.]{1,100}$ -- cgit v1.2.3