input: add url parsing of `input-slave` option
commitbbdaa0b64a0626282d1dca2051c233969f00e1d7
authorAlaric Senat <dev.asenat@posteo.net>
Fri, 2 Apr 2021 14:30:07 +0000 (2 16:30 +0200)
committerThomas Guillem <thomas@gllm.fr>
Thu, 8 Apr 2021 12:28:39 +0000 (8 14:28 +0200)
tree9a78f31f56e69afe3907a96d9ec077d74e3cf87c
parent3de1584a8dfda97871aa0696629ffc06f7864f94
input: add url parsing of `input-slave` option

As shown in #25549, we need to extract the path from the url in order to
check the file extension without the eventual HTTP's options noise.

Fixes: #25549
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
src/input/input.c