skyjake / lagrange

A Beautiful Gemini Client
https://gmi.skyjake.fi/lagrange/
BSD 2-Clause "Simplified" License
1.22k stars 65 forks source link

Finger URIs with userinfo component instead of path #693

Open SavaAlexandruStefan opened 3 weeks ago

SavaAlexandruStefan commented 3 weeks ago

While testing some links I also tried the finger protocol

When a link is poiting finger://domain.tld/user it works well .. it goes to show finger info user@domain.ltd

If link is finger://user@domain.tld lagrange goes to @domain.ltd (no user)

Hope you understand what I said 😀

Thanks for LaGrange🥃

skyjake commented 3 weeks ago

While there is no official URI specification for Finger, I believe the de facto correct format is finger://domain.tld/request. In other words, the userinfo component of the URI is not meant to be used, although I suppose the lack of spec means that one could just go ahead and support that as well.

I don't plan to make changes here any time soon, though. If anyone wants to submit a pull request, I'll merge it.