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
d4bd159e
Commit
d4bd159e
authored
Jun 22, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove vlc_UrlEncode
parent
2203f838
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
include/vlc_url.h
include/vlc_url.h
+0
-6
modules/control/http/rpn.c
modules/control/http/rpn.c
+1
-1
No files found.
include/vlc_url.h
View file @
d4bd159e
...
...
@@ -193,12 +193,6 @@ static inline void vlc_UrlClean( vlc_url_t *url )
url
->
psz_buffer
=
NULL
;
}
static
inline
char
*
vlc_UrlEncode
(
const
char
*
psz_url
)
{
/* FIXME: do not encode / : ? and & _when_ not needed */
return
encode_URI_component
(
psz_url
);
}
#include <ctype.h>
/** Check whether a given string is not a valid URL and must hence be
...
...
modules/control/http/rpn.c
View file @
d4bd159e
...
...
@@ -360,7 +360,7 @@ void EvaluateRPN( intf_thread_t *p_intf, mvar_t *vars,
else
if
(
!
strcmp
(
s
,
"url_encode"
)
)
{
char
*
url
=
SSPop
(
st
);
char
*
value
=
vlc_UrlEncode
(
url
);
char
*
value
=
encode_URI_component
(
url
);
free
(
url
);
SSPush
(
st
,
value
);
free
(
value
);
...
...
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