lagrange icon indicating copy to clipboard operation
lagrange copied to clipboard

Protocol Relative URLs mishandled when using an HTTP(S) proxy

Open acidus99 opened this issue 3 years ago • 0 comments

If you click on a protocol relative link in Lagrange for a HTTP page accessed over an HTTP<>Gemini proxy like Duckling Lagrange will make a request using gemini:// instead of https://.

I'm using Lagrange Version 1.13.7 on macOS.

I'm accessing an HTTP(S) page over Lagrange using an HTTP<>Gemini proxy like Duckling. The HTML page contains protocol relative URLs. When you click a protocol relative URL, it should use the protocol of the parent (e.g. HTTP). However Lagrange is making a request using gemini:// instead of https://

Site using protocol relative URLs: https://bearblog.dev/discover/

acidus99 avatar Sep 18 '22 16:09 acidus99