aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/http_proxy_for_openid.mdwn
diff options
context:
space:
mode:
authorhttp://brian.may.myopenid.com/ <Brian_May@web>2011-06-04 02:13:15 +0000
committeradmin <admin@branchable.com>2011-06-04 02:13:15 +0000
commit645ebe93b59c13865112bea22638c7e0d042a39f (patch)
tree0e615cf932a0cbd29b54b360286d4e58eb35fff7 /doc/bugs/http_proxy_for_openid.mdwn
parentd7c4001748f8c9f765e39b0d8ebe2d3d0f8cb0ab (diff)
downloadikiwiki-645ebe93b59c13865112bea22638c7e0d042a39f.tar
ikiwiki-645ebe93b59c13865112bea22638c7e0d042a39f.tar.gz
update on http proxy issue
Diffstat (limited to 'doc/bugs/http_proxy_for_openid.mdwn')
-rw-r--r--doc/bugs/http_proxy_for_openid.mdwn16
1 files changed, 14 insertions, 2 deletions
diff --git a/doc/bugs/http_proxy_for_openid.mdwn b/doc/bugs/http_proxy_for_openid.mdwn
index dac4d2736..dc8423e46 100644
--- a/doc/bugs/http_proxy_for_openid.mdwn
+++ b/doc/bugs/http_proxy_for_openid.mdwn
@@ -10,7 +10,7 @@ to IkiWiki/Wrapper.pm it solves the problem for https requests, however it obvio
Also, the ability to set HTTPS\_CA\_FILE and HTTPS\_CA\_DIR might benefit some people. Then again, it I can't see any evidence that the SSL certificate of the server is being checked. See the [[bug_report|ssl_certificates_not_checked_with_openid]] I filed on this separate issue.
-Unfortunately, HTTP\_PROXY doesn't work for http requests, it looks like that library is different.
+Unfortunately, HTTP\_PROXY doesn't work for http:// requests, it looks like that library is different.
---
@@ -47,5 +47,17 @@ Brian May
> Rather than adding config file settings for every useful environment
> variable, there is a ENV config file setting that can be used to set
-> any environment variables you like. So, no changed needed. [[done]]
+> any environment variables you like. So, no changed needed.
> --[[Joey]]
+
+>> One thing I don't like about using ikiwiki for tracking bugs is I don't
+>> get notified when changes are made :-(.
+>>
+>> Anyway, if you look at the code I pasted above, the environment variables
+>> do not work for http:// - you have to use $ua->proxy(...) for them.
+>> This is significant, because all openid servers in my version appear to have been
+>> defined with http:// not https:// in /usr/share/ikiwiki/openid-selector/ikiwiki/openid/openid-jquery.js
+>>
+>> 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.