uri: Fix parsing issues
authorDavid Waring <david.waring@rd.bbc.co.uk>
Wed, 21 Jan 2015 14:09:45 +0000 (14:09 +0000)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 22 Jan 2015 21:08:00 +0000 (22:08 +0100)
commitab9b66e6becfdb944b2229a14e0ead7308a7bf92
treee4ff96759294982550dd54f38c6d52481eec235a
parent0637703fe78a6be09166cc3bc392f5421c80055d
uri: Fix parsing issues

Make host IPs in square brackets store only the IP, i.e. strip the brackets.
Strip leading whitespace characters in URIs.
Fail parsing when host part does not match any valid formats from RFC3986.

https://bugzilla.gnome.org/show_bug.cgi?id=743195
gst/gsturi.c