summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormartin scharm <[email protected]>2018-01-17 12:28:47 +0100
committermartin scharm <[email protected]>2018-01-17 12:28:47 +0100
commit213c01d459455d0c9062e228e5bc581c92fcda69 (patch)
treed75ed189a63a678a6d04335b1f3c812d176b7ec7 /include
parentea55f2e11c162db8edeac1a39f861d5ad2381a60 (diff)
some proxies require `request_fulluri` set to true [see #36]
at least polipo won't work for plain HTTP URLs (HTTPS strangely also works without `request_fulluri`..?) see https://git.tt-rss.org/git/tt-rss/pulls/36
Diffstat (limited to 'include')
-rw-r--r--include/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index f58a2fc68..2c6b51337 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -496,6 +496,7 @@
}
if (defined('PROXY')) {
+ $context_options['http']['request_fulluri'] = true;
$context_options['http']['proxy'] = PROXY;
}