Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
ae96181a
Commit
ae96181a
authored
Nov 18, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xspf: don't use %encoding for node title, but only convert XML special characters
parent
3b99d3d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
modules/demux/playlist/xspf.c
modules/demux/playlist/xspf.c
+2
-1
modules/misc/playlist/xspf.c
modules/misc/playlist/xspf.c
+1
-1
No files found.
modules/demux/playlist/xspf.c
View file @
ae96181a
...
@@ -676,7 +676,8 @@ static vlc_bool_t parse_extension_node COMPLEX_INTERFACE
...
@@ -676,7 +676,8 @@ static vlc_bool_t parse_extension_node COMPLEX_INTERFACE
/* attribute: title */
/* attribute: title */
if
(
!
strcmp
(
psz_name
,
"title"
)
)
if
(
!
strcmp
(
psz_name
,
"title"
)
)
{
{
psz_title
=
decode_URI_duplicate
(
psz_value
);
resolve_xml_special_chars
(
psz_value
);
psz_title
=
strdup
(
psz_value
);
}
}
/* extension attribute: application */
/* extension attribute: application */
else
if
(
!
strcmp
(
psz_name
,
"application"
)
)
else
if
(
!
strcmp
(
psz_name
,
"application"
)
)
...
...
modules/misc/playlist/xspf.c
View file @
ae96181a
...
@@ -251,7 +251,7 @@ static void xspf_extension_item( playlist_item_t *p_item, FILE *p_file,
...
@@ -251,7 +251,7 @@ static void xspf_extension_item( playlist_item_t *p_item, FILE *p_file,
{
{
int
i
;
int
i
;
char
*
psz_temp
;
char
*
psz_temp
;
psz_temp
=
encode_URI_component
(
p_item
->
p_input
->
psz_name
);
psz_temp
=
convert_xml_special_chars
(
p_item
->
p_input
->
psz_name
);
fprintf
(
p_file
,
"
\t\t
<node title=
\"
%s
\"
>
\n
"
,
fprintf
(
p_file
,
"
\t\t
<node title=
\"
%s
\"
>
\n
"
,
*
psz_temp
?
psz_temp
:
""
);
*
psz_temp
?
psz_temp
:
""
);
free
(
psz_temp
);
free
(
psz_temp
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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