Files
magpie/internal
yetone 6ad734802e plugin sign-in: a login page that carries the sign-in page in its address can be finished from a pasted address (plugins#1090)
CodeArts' international browser sign-in opens Huawei Cloud's login page
with the authorize page, port and all, in service=. loopbackPorts read
only the page's own query, found no port, and the sign-in offered no
paste box. On magpie running on a server (yfishyon on plugins#1090) the
browser ended on 127.0.0.1:<port>/oauth/callback and nothing could finish
it, while the mainland sign-in (port= in its own query) could be pasted.

loopbackPorts now also reads a web address in the query one page deep.
A redirect to a non-loopback https page (ZCode's) still names no port.

Run: TestLoopbackPorts has the international and mainland shapes; the
international one is red on the old code ("" want "37093"). go vet and
go test -tags nogui -count=1 ./internal/provider pass on mica. Not tried:
a real international sign-in pasted from another machine.
2026-11-14 12:31:48 +08:00
..
…
…
…
…
…
…
…
…
…
…