Commit b200abac authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Match localhost plus / not localhost plus directory separator

(cherry picked from commit a8820e3e)

Conflicts:

	src/input/input.c
parent a59a26d0
...@@ -2356,7 +2356,7 @@ static int InputSourceInit( input_thread_t *p_input, ...@@ -2356,7 +2356,7 @@ static int InputSourceInit( input_thread_t *p_input,
) )
{ /* host specified -> only localhost is supported */ { /* host specified -> only localhost is supported */
static const unsigned localhostLen = 9; /* strlen("localhost") */ static const unsigned localhostLen = 9; /* strlen("localhost") */
if (!strncmp( psz_path, "localhost" DIR_SEP, localhostLen + 1)) if (!strncmp( psz_path, "localhost/", localhostLen + 1))
psz_path += localhostLen; psz_path += localhostLen;
else else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment