aaroneaton / better-yourls

Source code for the Better YOURLS WordPress plugin
21 stars 6 forks source link

Support connecting to YOURLS API over HTTPS #8

Closed dgw closed 8 years ago

dgw commented 8 years ago

It's easy for users to put in only the YOURLS domain, but API requests do use a secret token that should not be revealed in cleartext if it can be avoided. My YOURLS installation is available over HTTPS, and I'd like to eliminate insecure requests to it as much as possible.

I propose the following:

ChrisWiegman commented 8 years ago

I'll have to look at this. I run admin on https myself but had some problems with the api calls.

ChrisWiegman commented 8 years ago

Well, got this working. Please take a look at https://github.com/ChrisWiegman/Better-YOURLS/tree/feature/allow_https and let me know what you think (it's always good to have a 2nd set of eyes on a requested feature).

ChrisWiegman commented 8 years ago

This has been pushed in 2.1