Skip to content
  • Vanadiae's avatar
    Use G_URI_FLAGS_PARSE_RELAXED everywhere · ec983fdd
    Vanadiae authored and Marge Bot's avatar Marge Bot committed
    For example https://example.org/foo%s would cause the session to fail
    to save, the certificate lock to not show and all sorts of other issues.
    Just make things simpler by using G_URI_FLAGS_PARSE_RELAXED
    for every g_uri_*/GUri symbol: it accepts %cc where cc is not an
    hexadecimal number. This matches the parsing behavior expected for
    URLs as described in WHATWG's URL spec -- which isn't exactly the same
    as for URIs as described in RFC 3986.
    
    Fixes #2128
    
    Part-of: <!1365>
    ec983fdd