Commit Graph
1 Commits
Author SHA1 Message Date
RRFZ 501e6b2da0 Read GraphQL and tRPC endpoints only from a URL's path (R3.12) (#1890)
A URL with no path has its first slash in the query or fragment, so https://auth.example.test?next=/graphql was read as a GraphQL endpoint; and a :// in a query made /api/graphql?next=https://x.test lose its path. A scheme now counts only before any /, ? or #, the host ends at the first of those, and run-time text in a partly literal URL ends neither.
2026-11-15 12:17:05 +07:00