]> git.wh0rd.org - tt-rss.git/commitdiff
some proxies require `request_fulluri` set to true [see #36]
authormartin scharm <git-dev@binfalse.de>
Wed, 17 Jan 2018 11:28:47 +0000 (12:28 +0100)
committermartin scharm <git-dev@binfalse.de>
Wed, 17 Jan 2018 11:28:47 +0000 (12:28 +0100)
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

include/functions.php

index f58a2fc6865c8b4d0cf24c9cafda539f80b09eb8..2c6b51337b962a17d664eedd28118a5e98b0ff3a 100644 (file)
                        }
 
                        if (defined('PROXY')) {
+                               $context_options['http']['request_fulluri'] = true;
                                $context_options['http']['proxy'] = PROXY;
                        }