Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
generateur-slogans
Commits
497afc88
Verified
Commit
497afc88
authored
Nov 07, 2017
by
Thibaut Broggi
Browse files
Revert "Fix GET arguments encoding"
This reverts commit
cf48ab5f
.
parent
fa11477e
Pipeline
#1510
passed with stage
in 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
static/canvas.js
View file @
497afc88
...
...
@@ -22,7 +22,7 @@ let params = {};
if
(
window
.
location
.
search
)
{
let
splitParams
=
window
.
location
.
search
.
split
(
'
?
'
)[
1
].
split
(
'
&
'
);
for
(
let
i
in
splitParams
)
{
params
[
splitParams
[
i
].
split
(
'
=
'
)[
0
]]
=
decodeURIComponent
(
splitParams
[
i
].
split
(
'
=
'
)[
1
])
.
replace
(
/
\+
/g
,
'
'
)
;
params
[
splitParams
[
i
].
split
(
'
=
'
)[
0
]]
=
decodeURIComponent
(
splitParams
[
i
].
split
(
'
=
'
)[
1
]);
}
}
...
...
Write
Preview
Supports
Markdown
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