You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect Addressable::URI#heuristic_parse to give the same results for the completely schemaless test.com and the protocol-relative schemaless url //test.com
I think it's worth calling out that Addressable's heuristic_parse does aim to hew quite closely to whatever browsers are doing in the address bar.
If I enter //test.com in Google Chrome it tries to visit file:///test.com. Firefox tries to visit file:////test.com. Safari does a Google search for //test.com 😅
I would expect
Addressable::URI#heuristic_parse
to give the same results for the completely schemalesstest.com
and the protocol-relative schemaless url//test.com
Expected:
Actual:
The text was updated successfully, but these errors were encountered: