Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
d2dd502e
Commit
d2dd502e
authored
Jul 24, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Plus sign must not be decoded in URI
This is different from HTTP forms.
parent
04b436b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
src/test/url.c
src/test/url.c
+1
-4
src/text/strings.c
src/text/strings.c
+0
-4
No files found.
src/test/url.c
View file @
d2dd502e
...
...
@@ -95,9 +95,6 @@ int main (void)
test_decode
(
"this_should_not_be_modified_1234"
,
"this_should_not_be_modified_1234"
);
test_decode
(
"This+should+be+modified+1234!"
,
"This should be modified 1234!"
);
test_decode
(
"This%20should%20be%20modified%201234!"
,
"This should be modified 1234!"
);
...
...
@@ -109,7 +106,7 @@ int main (void)
test_decode
(
"%0000"
,
""
);
/* Non-ASCII tests */
test_decode
(
"T%C3%a9l%c3%A9vision
+
%e2%82%Ac"
,
"Télévision €"
);
test_decode
(
"T%C3%a9l%c3%A9vision
%e2%82%Ac"
,
"Télévision €"
);
test_decode
(
"T%E9l%E9vision"
,
"T
\xe9
l
\xe9
vision"
);
/* Base 64 tests */
...
...
src/text/strings.c
View file @
d2dd502e
...
...
@@ -95,10 +95,6 @@ char *decode_URI( char *psz )
break
;
}
case
'+'
:
/* This is HTTP forms, not URI decoding... */
*
out
++
=
' '
;
break
;
default:
/* Inserting non-ASCII or non-printable characters is unsafe,
* and no sane browser will send these unencoded */
...
...
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