Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
24e0708b
...
24e0708bae743b33704c737520391ba228484009
authored
2012-08-16 17:55:38 +0200
by
Leandro Boscariol
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Changed escape to encodeURIComponent for downloading binaries via POST
1 parent
5ed461e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/clientutils.js
modules/clientutils.js
View file @
24e0708
...
...
@@ -314,7 +314,7 @@
if
(
typeof
data
===
"object"
)
{
var
dataList
=
[];
for
(
var
k
in
data
)
{
dataList
.
push
(
e
scape
(
k
)
+
"="
+
escape
(
data
[
k
].
toString
()));
dataList
.
push
(
e
ncodeURIComponent
(
k
)
+
"="
+
encodeURIComponent
(
data
[
k
].
toString
()));
}
dataString
=
dataList
.
join
(
'&'
);
this
.
log
(
"getBinary(): Using request data: '"
+
dataString
+
"'"
,
"debug"
);
...
...
Please
register
or
sign in
to post a comment