We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e40ac48 commit 81d7cf5Copy full SHA for 81d7cf5
src/webdriver/extension_qt/q_proxy_parser.cc
@@ -199,6 +199,11 @@ Error* QProxyCapabilitiesParser::ParseNoProxy(const base::Value* option){
199
Error* QProxyCapabilitiesParser::ParseSystemProxy(const base::DictionaryValue *options) {
200
201
QString urlString(qgetenv("http_proxy"));
202
+ if (urlString == NULL) {
203
+ logger_.Log(kInfoLogLevel,"system proxy configuration not found");
204
+ return NULL;
205
+ }
206
+
207
if (!urlString.startsWith("http://"))
208
urlString.insert(0, "http://");
209
QUrl proxyUrl(urlString);
0 commit comments