Git remote URLs differing only by a slash or escaping now resolve to the same repository.
What's wrong with this entry?
Remote URLs that differ only by a leading slash or percent-encoding now resolve to the same repository identity, and malformed paths are rejected rather than half-parsed.
- The scp-style parser strips leading slashes from the path.
- The owner/repo result must split into exactly two non-empty segments, otherwise parsing returns null.
- The URL-form sanitizer attempts
decodeURIComponent(r.pathname)inside a try/catch, so a failure to decode leaves the path untouched.
r.pathname = decodeURIComponent(r.pathname);
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Stale editor bridge connections are dropped instead of read
Both mention integration
-
v2.1.234
Git remote URLs can no longer smuggle a different host
Both mention integration
-
v2.1.236
Change detection ignores custom diff drivers and submodules
Both mention integration