fermyon / spin

Spin is the open source developer tool for building and running serverless applications powered by WebAssembly.
https://developer.fermyon.com/spin
Apache License 2.0
5.52k stars 257 forks source link

Fix `@` in URL path confusing the parser #2906

Closed itowlson closed 2 weeks ago

itowlson commented 3 weeks ago

Fixes #2905.

I've added some tests to cover the behaviour. However, it will get confused in a different way if the username-password segment contains a forward slash (ivan:sec/ret@example.com). I'm not sure if that's a concern? @rylev you may know a better way to tackle this in which case feel free to close this!