libgit2/libgit2 — pull request #1936 by ben (2013-11-01 22:32:41+00:00)
Title: Streamline url-parsing logic.

This is an attempt to fix the url-parsing logic to avoid clunky validation, but also not introduce regexes. I've added a test that segfaulted before this change.