miguelgrinberg / Flask-PageDown

Implementation of StackOverflow's "PageDown" markdown editor for Flask and Flask-WTF.
MIT License
244 stars 21 forks source link

Fix support for SSL for proxied sites, or otherwise uncertain situations #5

Closed kageurufu closed 10 years ago

kageurufu commented 10 years ago

My particular situation is deployed through ElasticBeanstalk, proxying HTTPS to HTTP on the actual endpoints. This makes flask think that it is only running with http, not https

kageurufu commented 10 years ago

If a browser sees no scheme, it defaults to the current page scheme.

miguelgrinberg commented 10 years ago

Thanks, I should have done it this way, it's much better.

kageurufu commented 10 years ago

Not a problem, glad to have helped

— Franklyn Tackitt

On Mon, May 26, 2014 at 3:54 PM, Miguel Grinberg notifications@github.com wrote:

Thanks, I should have done it this way, it's much better.

Reply to this email directly or view it on GitHub: https://github.com/miguelgrinberg/Flask-PageDown/pull/5#issuecomment-44222471