Skip to content

Commit

Permalink
launchd.plist: use http://host:port/ format for proxy environment var…
Browse files Browse the repository at this point in the history
…iables

Some utilities don't like to have only "host:port".

E.g., with offlineimap:
  [Errno url error] invalid proxy for https: 'localhost:3128' ...
  • Loading branch information
lrocha-bcom authored and kdehairy committed Oct 30, 2017
1 parent 1a953d4 commit a9dd30d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions launchd/agent.pac4cli.plist
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<string>/bin/launchctl</string>
<string>setenv</string>
<string>http_proxy</string>
<string>localhost:3128</string>
<string>http://localhost:3128/</string>
<string>https_proxy</string>
<string>localhost:3128</string>
<string>http://localhost:3128/</string>
<string>HTTP_PROXY</string>
<string>localhost:3128</string>
<string>http://localhost:3128/</string>
<string>HTTPS_PROXY</string>
<string>localhost:3128</string>
<string>http://localhost:3128/</string>
<string>_JAVA_OPTIONS</string>
<string>-Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128 -Dhttps.proxyHost=localhost -Dhttps.proxyPort=3128</string>
</array>
Expand Down

0 comments on commit a9dd30d

Please sign in to comment.