Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

add "http://" to proxy if proxy not include protocol#235

Merged
geemus merged 1 commit intoheroku:masterfrom
dekokun:proxy
Feb 15, 2012
Merged

add "http://" to proxy if proxy not include protocol#235
geemus merged 1 commit intoheroku:masterfrom
dekokun:proxy

Conversation

@dekokun
Copy link
Copy Markdown
Contributor

@dekokun dekokun commented Feb 15, 2012

If you access with proxy, you can't use some API ex. 'heroku logs' 'heroku ps' in case of 'http_proxy=host:port'(without protocol)

I modified to add "http://" to proxy if proxy_env not include protocol.

@geemus
Copy link
Copy Markdown
Contributor

geemus commented Feb 15, 2012

Thanks, I can see how it would be easy to leave that out (and it probably gave a not very helpful error too). Thanks!

geemus added a commit that referenced this pull request Feb 15, 2012
add "http://" to proxy if proxy not include protocol
@geemus geemus merged commit f84b892 into heroku:master Feb 15, 2012
@dekokun
Copy link
Copy Markdown
Contributor Author

dekokun commented Feb 15, 2012

Thank you for merge !
And Thank you for Bug fix !!! ddfb098
The Bug, I'm sorry ....

@geemus
Copy link
Copy Markdown
Contributor

geemus commented Feb 15, 2012

No problem, it was an easy mistake to make and an easy bug to fix. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants