Document http_proxy usage - gophercgis - Collection of gopher CGI/DCGI for geomyidae
(HTM) hg clone https://bitbucket.org/iamleot/gophercgis
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) changeset f61649d0d312c8b7dce4a4842f74a945238f8889
(DIR) parent 6393aef738246dc6a8b6a789620ef84495fc5017
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Mon, 17 Dec 2018 14:53:14
Document http_proxy usage
Diffstat:
mastodon/mastodon.dcgi | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff -r 6393aef73824 -r f61649d0d312 mastodon/mastodon.dcgi
--- a/mastodon/mastodon.dcgi Mon Dec 17 14:51:59 2018 +0100
+++ b/mastodon/mastodon.dcgi Mon Dec 17 14:53:14 2018 +0100
@@ -18,7 +18,9 @@
'
function print_tootcontent(c)
{
+ # Nonexistent proxy to block HTTP requests
cmd = "http_proxy=\"http://localhost:31283128\""
+
cmd = cmd " LANG=en_US.UTF-8"
cmd = cmd " w3m -T text/html"
cmd = cmd " -dump -no-cookie -cols 72"