GNOME Bugzilla – Bug 779943
Git URL with spaces at the start or end gives "malformed url"
Last modified: 2017-03-12 22:01:24 UTC
So sometimes in wikis, etc. there are chances that you copy one space more than necessary. This gives an error saying "malformed URL" in the greeter when trying to clone. I guess builder should clean it up before parsing.
Created attachment 347776 [details] [review] git: strip URI strings of space characters We should be able to trim the space altogether from URI strings since they shouldn't be valid anywhere in the URI. This handles paste, entry, and if somehow it managed to get space in there by defensively stripping before URI creation.
Attachment 347776 [details] pushed as 2287054 - git: strip URI strings of space characters