phanpy icon indicating copy to clipboard operation
phanpy copied to clipboard

Automatically convert HTTP to HTTPS

Open pixitha opened this issue 10 months ago • 4 comments

Problem I have

I noticed if you copy a URL that is HTTP and try to search for a user, or a post, it won't correctly find it, due to the HTTP for some reason. Unsure if its because the originating server of the user/post only accepts HTTPS or because there is an issue with 302 redirects from http -> https happening?

Solution I'd like

It would be nice to have any URL posted into the search box to either re-try https, or automatically assume it should be HTTPS. Considering where we are in the timeline, it feels like it should auto-convert to HTTPS to make sure the lookup is secure and not leaking metadata in plaintext.

Alternatives considered

No response

Other

No response

pixitha avatar Feb 10 '25 03:02 pixitha

@pixitha are you trying to find a specific post resolved from the URL or a post that contains the URL?

cheeaun avatar Feb 10 '25 11:02 cheeaun

I was looking for a user account, I had copied and pasted a URL from another page that happened to be http.

pixitha avatar Feb 10 '25 12:02 pixitha

why not just search for users using the @[email protected] then there is no need for the any http to https rewrites?

ThatLurker avatar Mar 02 '25 12:03 ThatLurker

Optimally this should be solved in the server software, not the client.

The server should auto-retry with HTTPs or follow 302 redirects, as ultimately the server is what does the lookup.

cyrneko avatar Aug 01 '25 19:08 cyrneko