https://bugzilla.gnome.org/show_bug.cgi?id=628728
*d++ = c;
s += 2;
} else {
+ /* We leave it unchanged. We used to uppercase percent-encoded
+ * triplets but we do not do it any more as RFC3986 Section 6.2.2.1
+ * says that they only SHOULD be case normalized.
+ */
*d++ = *s++;
- *d++ = g_ascii_toupper (*s++);
- *d++ = g_ascii_toupper (*s);
+ *d++ = *s++;
+ *d++ = *s;
}
} else {
if (*s == ' ')
static struct {
const char *one, *two;
} eq_tests[] = {
- { "example://a/b/c/%7Bfoo%7D", "eXAMPLE://a/./b/../b/%63/%7bfoo%7d" },
+ { "example://a/b/c/%7Bfoo%7D", "eXAMPLE://a/./b/../b/%63/%7Bfoo%7D" },
{ "http://example.com", "http://example.com/" },
/* From RFC 2616 */
{ "http://abc.com:80/~smith/home.html", "http://abc.com:80/~smith/home.html" },