diff options
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -667,7 +667,8 @@ iBool handleCommand_App(const char *cmd) { | |||
667 | const iString *url = collectNewCStr_String(suffixPtr_Command(cmd, "url")); | 667 | const iString *url = collectNewCStr_String(suffixPtr_Command(cmd, "url")); |
668 | iUrl parts; | 668 | iUrl parts; |
669 | init_Url(&parts, url); | 669 | init_Url(&parts, url); |
670 | if (equalCase_Rangecc(parts.scheme, "http") || equalCase_Rangecc(parts.scheme, "https")) { | 670 | if (isEmpty_String(&d->httpProxy) && |
671 | (equalCase_Rangecc(parts.scheme, "http") || equalCase_Rangecc(parts.scheme, "https"))) { | ||
671 | openInDefaultBrowser_App(url); | 672 | openInDefaultBrowser_App(url); |
672 | return iTrue; | 673 | return iTrue; |
673 | } | 674 | } |