HalosGhost / pbpst

A command-line libcurl C client for pb deployments
GNU General Public License v2.0
44 stars 9 forks source link

Pbpst doesn't like http to https redirects #64

Closed ghost closed 8 years ago

ghost commented 8 years ago

pbpst gives errors when a paste is attempted that gets redirected.

Please see asciinema w/ description of issue... https://asciinema.org/a/9gqk7gtvstgu4oksoxp58y4xu

HalosGhost commented 8 years ago

For now, I am just going to detect if the provider is http and not https and throw an error.

In the future, I may allow for http-based providers, but since pb defaults to https-only and I would rather enforce security than enable insecurity.

HalosGhost commented 8 years ago

via 4c4990e29e9c47d4e9ea51a8f0c68d5ec19f9d9a