Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
83af9708
Commit
83af9708
authored
Sep 19, 2011
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http intf: fix unescaped xml entities
parent
982c2aea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
share/lua/http/requests/status.xml
share/lua/http/requests/status.xml
+3
-3
No files found.
share/lua/http/requests/status.xml
View file @
83af9708
...
@@ -49,7 +49,7 @@ local item = vlc.input.item()
...
@@ -49,7 +49,7 @@ local item = vlc.input.item()
if item then
if item then
local metas = item:metas()
local metas = item:metas()
for k,v in pairs(metas) do
for k,v in pairs(metas) do
print("
<info
name=
'"..
k
.."'
>
"..vlc.strings.convert_xml_special_chars(v).."
</info>
")
print("
<info
name=
'"..
vlc.strings.convert_xml_special_chars(k)
.."'
>
"..vlc.strings.convert_xml_special_chars(v).."
</info>
")
end
end
end
end
?>
?>
...
@@ -58,9 +58,9 @@ local item = vlc.input.item()
...
@@ -58,9 +58,9 @@ local item = vlc.input.item()
if item then
if item then
local info = item:info()
local info = item:info()
for k, v in pairs(info) do
for k, v in pairs(info) do
print("
<category
name=
'"..
k
.."'
>
")
print("
<category
name=
'"..
vlc.strings.convert_xml_special_chars(k)
.."'
>
")
for k2, v2 in pairs(v) do
for k2, v2 in pairs(v) do
print("
<info
name=
'"..
k2
.."'
>
"..vlc.strings.convert_xml_special_chars(v2).."
</info>
")
print("
<info
name=
'"..
vlc.strings.convert_xml_special_chars(k2)
.."'
>
"..vlc.strings.convert_xml_special_chars(v2).."
</info>
")
end
end
print("
</category>
")
print("
</category>
")
end
end
...
...
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