mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-05 02:38:09 -05:00
[httpd] Parser should allow queries that are not key/value
E.g. http://prem3.di.fm:80/progressive_hi?my_premium_key
This commit is contained in:
parent
45d193e56c
commit
4da45bdfab
@ -829,7 +829,7 @@ httpd_uri_parse(const char *uri)
|
||||
}
|
||||
|
||||
query = evhttp_uri_get_query(parsed->ev_uri);
|
||||
if (query)
|
||||
if (query && strchr(query, '='))
|
||||
{
|
||||
ret = evhttp_parse_query_str(query, &(parsed->ev_query));
|
||||
if (ret < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user