Browse Source

url: allow brackets in path part

As brackets are separators only within the authority part, thier use
within (or on the edges of) the path does not create any ambiguity.

(cherry picked from commit 721751d4f8)

Fixes #26092
Fixes #26348
pull/135/head
Rémi Denis-Courmont 5 years ago
parent
commit
59b3fa8408
  1. 2
      src/text/url.c

2
src/text/url.c

@ -398,7 +398,7 @@ static bool vlc_uri_host_validate(const char *str)
static bool vlc_uri_path_validate(const char *str)
{
return vlc_uri_component_validate(str, "/@:");
return vlc_uri_component_validate(str, "/@:[]");
}
static int vlc_UrlParseInner(vlc_url_t *restrict url, const char *str)

Loading…
Cancel
Save