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
2ec45e6f
Commit
2ec45e6f
authored
Apr 13, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
URL encode fix
parent
bcb8ad99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
share/http/js/functions.js
share/http/js/functions.js
+3
-3
share/http/js/vlm.js
share/http/js/vlm.js
+1
-1
No files found.
share/http/js/functions.js
View file @
2ec45e6f
...
...
@@ -287,7 +287,7 @@ function in_play()
var
input
=
value
(
'
input_mrl
'
);
if
(
value
(
'
sout_mrl
'
)
!=
''
)
input
+=
'
'
+
value
(
'
sout_mrl
'
);
var
url
=
'
requests/status.xml?command=in_play&input=
'
+
e
scape
(
input
);
var
url
=
'
requests/status.xml?command=in_play&input=
'
+
e
ncodeURIComponent
(
input
);
loadXMLDoc
(
url
,
parse_status
);
setTimeout
(
'
update_playlist()
'
,
1000
);
}
...
...
@@ -296,7 +296,7 @@ function in_enqueue()
var
input
=
value
(
'
input_mrl
'
);
if
(
value
(
'
sout_mrl
'
)
!=
''
)
input
+=
'
'
+
value
(
'
sout_mrl
'
);
var
url
=
'
requests/status.xml?command=in_enqueue&input=
'
+
e
scape
(
input
);
var
url
=
'
requests/status.xml?command=in_enqueue&input=
'
+
e
ncodeURIComponent
(
input
);
loadXMLDoc
(
url
,
parse_status
);
setTimeout
(
'
update_playlist()
'
,
1000
);
}
...
...
@@ -1022,7 +1022,7 @@ function browse( dest )
function
browse_dir
(
dir
)
{
document
.
getElementById
(
'
browse_lastdir
'
).
value
=
dir
;
loadXMLDoc
(
'
requests/browse.xml?dir=
'
+
e
scape
(
dir
),
parse_browse_dir
);
loadXMLDoc
(
'
requests/browse.xml?dir=
'
+
e
ncodeURIComponent
(
dir
),
parse_browse_dir
);
}
function
browse_path
(
p
)
{
...
...
share/http/js/vlm.js
View file @
2ec45e6f
...
...
@@ -635,7 +635,7 @@ function parse_vlm_elements()
function
vlm_cmd
(
cmd
)
{
loadXMLDoc
(
'
requests/vlm_cmd.xml?command=
'
+
cmd
.
replace
(
/
\#
/g
,
'
%23
'
),
parse_vlm_cmd
);
loadXMLDoc
(
'
requests/vlm_cmd.xml?command=
'
+
encodeURIComponent
(
cmd
),
parse_vlm_cmd
);
}
function
vlm_get_elements
(
)
...
...
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