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
f76c592f
Commit
f76c592f
authored
Apr 11, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert [15132]:
- Fix HTTPd crash - Break the old interface again
parent
08c410dc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
modules/control/http/macro.c
modules/control/http/macro.c
+7
-7
modules/control/http/rpn.c
modules/control/http/rpn.c
+1
-1
No files found.
modules/control/http/macro.c
View file @
f76c592f
...
...
@@ -236,7 +236,7 @@ void E_(MacroDo)( httpd_file_sys_t *p_args,
{
char
value
[
30
];
E_
(
ExtractURIValue
)(
p_request
,
"seek_value"
,
value
,
30
);
decod
e_URI
(
value
);
unescap
e_URI
(
value
);
E_
(
HandleSeek
)(
p_intf
,
value
);
break
;
}
...
...
@@ -248,7 +248,7 @@ void E_(MacroDo)( httpd_file_sys_t *p_args,
E_
(
ExtractURIValue
)(
p_request
,
"value"
,
vol
,
8
);
aout_VolumeGet
(
p_intf
,
&
i_volume
);
decod
e_URI
(
vol
);
unescap
e_URI
(
vol
);
if
(
vol
[
0
]
==
'+'
)
{
...
...
@@ -305,9 +305,9 @@ void E_(MacroDo)( httpd_file_sys_t *p_args,
playlist_item_t
*
p_item
;
E_
(
ExtractURIValue
)(
p_request
,
"mrl"
,
mrl
,
1024
);
decod
e_URI
(
mrl
);
unescap
e_URI
(
mrl
);
E_
(
ExtractURIValue
)(
p_request
,
"name"
,
psz_name
,
1024
);
decod
e_URI
(
psz_name
);
unescap
e_URI
(
psz_name
);
if
(
!*
psz_name
)
{
memcpy
(
psz_name
,
mrl
,
1024
);
...
...
@@ -530,7 +530,7 @@ void E_(MacroDo)( httpd_file_sys_t *p_args,
char
val
[
512
];
E_
(
ExtractURIValue
)(
p_request
,
vlm_properties
[
i
],
val
,
512
);
decod
e_URI
(
val
);
unescap
e_URI
(
val
);
if
(
strlen
(
val
)
>
0
&&
i
>=
4
)
{
p
+=
sprintf
(
p
,
" %s %s"
,
vlm_properties
[
i
],
val
);
...
...
@@ -626,7 +626,7 @@ void E_(MacroDo)( httpd_file_sys_t *p_args,
if
(
p_intf
->
p_sys
->
p_vlm
==
NULL
)
break
;
E_
(
ExtractURIValue
)(
p_request
,
"file"
,
file
,
512
);
decod
e_URI
(
file
);
unescap
e_URI
(
file
);
if
(
E_
(
StrToMacroType
)(
control
)
==
MVLC_VLM_LOAD
)
sprintf
(
psz
,
"load %s"
,
file
);
...
...
@@ -661,7 +661,7 @@ void E_(MacroDo)( httpd_file_sys_t *p_args,
break
;
}
E_
(
ExtractURIValue
)(
p_request
,
m
->
param1
,
value
,
512
);
decod
e_URI
(
value
);
unescap
e_URI
(
value
);
switch
(
E_
(
StrToMacroType
)(
m
->
param2
)
)
{
...
...
modules/control/http/rpn.c
View file @
f76c592f
...
...
@@ -353,7 +353,7 @@ void E_(EvaluateRPN)( intf_thread_t *p_intf, mvar_t *vars,
char
*
tmp
;
E_
(
ExtractURIValue
)(
url
,
name
,
value
,
512
);
decod
e_URI
(
value
);
unescap
e_URI
(
value
);
tmp
=
E_
(
FromUTF8
)(
p_intf
,
value
);
E_
(
SSPush
)(
st
,
tmp
);
free
(
tmp
);
...
...
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