Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
e10d812e
Commit
e10d812e
authored
Nov 17, 2003
by
Simon Latapie
Browse files
* http.c: fixed bug with spaces in mrl
parent
b89a4613
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/control/http.c
View file @
e10d812e
...
...
@@ -2,7 +2,7 @@
* http.c : http mini-server ;)
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: http.c,v 1.3
4
2003/11/1
6 20:41:36
garf Exp $
* $Id: http.c,v 1.3
5
2003/11/1
7 15:29:03
garf Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Laurent Aimar <fenrir@via.ecp.fr>
...
...
@@ -2878,11 +2878,17 @@ playlist_item_t * parse_MRL( char *psz )
}
/* extract the mrl */
s_temp
=
Find_end_MRL
(
s_mrl
);
s_temp
=
strstr
(
s_mrl
,
" :"
);
if
(
s_temp
==
NULL
)
{
return
NULL
;
s_temp
=
s_mrl
+
strlen
(
s_mrl
);
}
else
{
while
(
(
*
s_temp
==
' '
)
&&
(
s_temp
!=
s_mrl
)
)
{
s_temp
--
;
}
s_temp
++
;
}
/* if the mrl is between " or ', we must remove them */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment