From 030adf9c4ab67a72812d6973e6c0fde0bdda20f9 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI" Date: Tue, 14 Jun 2011 00:01:42 +0000 Subject: [PATCH 1/4] findings --- doc/bugs/http_proxy_for_openid.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/bugs/http_proxy_for_openid.mdwn b/doc/bugs/http_proxy_for_openid.mdwn index dc8423e46..28fbee026 100644 --- a/doc/bugs/http_proxy_for_openid.mdwn +++ b/doc/bugs/http_proxy_for_openid.mdwn @@ -61,3 +61,10 @@ Brian May >> Use $ua->env_proxy() to get it to read the environment variables. Then http:// does work. >> >> Unfortunately this breaks https:// even more - but nothing I do seems to make https:// work anymore. + + +>>> LWP::UserAgent defaults to not caring about proxy settings in +>>> the environment. (To give control over the result, I guess?) +>>> To get it to care, pass `env_proxy => 1` to the constructor. Affected +>>> plugins: aggregate, openid, pinger. This probably wants to be on +>>> by default, and might not need to be configurable. --[[schmonz]] From 34eda677bd607a7ffddb33b965e50a512e3b7e1c Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI" Date: Tue, 14 Jun 2011 02:45:29 +0000 Subject: [PATCH 2/4] doings --- doc/bugs/http_proxy_for_openid.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/bugs/http_proxy_for_openid.mdwn b/doc/bugs/http_proxy_for_openid.mdwn index 28fbee026..f19d12958 100644 --- a/doc/bugs/http_proxy_for_openid.mdwn +++ b/doc/bugs/http_proxy_for_openid.mdwn @@ -68,3 +68,8 @@ Brian May >>> To get it to care, pass `env_proxy => 1` to the constructor. Affected >>> plugins: aggregate, openid, pinger. This probably wants to be on >>> by default, and might not need to be configurable. --[[schmonz]] + +>>>> Okay, in a real-world scenario it does need to be +>>>> configurable. A working implementation (tested with aggregate, +>>>> not tested with the other two plugins) is in my git, commit +>>>> 91c46819dee237a281909b0c7e65718eb43f4119. --[[schmonz]] From babf328004ec3d5a1e9011a491dfad68ad8f62b9 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI" Date: Tue, 14 Jun 2011 02:49:27 +0000 Subject: [PATCH 3/4] finding, the one morth --- doc/bugs/http_proxy_for_openid.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/bugs/http_proxy_for_openid.mdwn b/doc/bugs/http_proxy_for_openid.mdwn index f19d12958..b7ae76aeb 100644 --- a/doc/bugs/http_proxy_for_openid.mdwn +++ b/doc/bugs/http_proxy_for_openid.mdwn @@ -73,3 +73,8 @@ Brian May >>>> configurable. A working implementation (tested with aggregate, >>>> not tested with the other two plugins) is in my git, commit >>>> 91c46819dee237a281909b0c7e65718eb43f4119. --[[schmonz]] + +>>>>> Oh, and according to the LWPx::ParanoidAgent docs, "proxy support is +>>>>> explicitly removed", so if ikiwiki can preferentially find that +>>>>> installed, even with the above commit, `openid` won't be able to +>>>>> traverse a proxy. --[[schmonz]] From 56370d3ac77c969d8d72d161f6b20e4b295939a2 Mon Sep 17 00:00:00 2001 From: "http://jmtd.livejournal.com/" Date: Tue, 14 Jun 2011 11:04:28 +0000 Subject: [PATCH 4/4] s/as-is/as pre-formatted/ --- doc/plugins/txt.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/plugins/txt.mdwn b/doc/plugins/txt.mdwn index a3087c9e0..a51aabf48 100644 --- a/doc/plugins/txt.mdwn +++ b/doc/plugins/txt.mdwn @@ -5,8 +5,8 @@ This plugin makes ikiwiki treat files with names ending in ".txt" as wiki pages. Unlike other [[type/format]] plugins, no formatting of markup in -txt files is done; the file contents is displayed to the user as-is, -with html markup characters such as ">" escaped. +txt files is done; the file contents is displayed to the user as +pre-formatted text, with html markup characters such as ">" escaped. The only exceptions are that [[WikiLinks|ikiwiki/WikiLink]] and [[directives|ikiwiki/directive]] are still expanded by