Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ihor Kaharlichenko
swagger-ui-oms
Commits
99936758
Commit
99936758
authored
Sep 05, 2013
by
Tony Tam
Browse files
fix for #301, headers being URI encoded
parent
8a9eedfd
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
dist/swagger-ui.js
View file @
99936758
...
...
@@ -1567,7 +1567,7 @@ helpers = this.merge(helpers, Handlebars.helpers); data = data || {};
for
(
_i
=
0
,
_len
=
_ref
.
length
;
_i
<
_len
;
_i
++
)
{
o
=
_ref
[
_i
];
if
((
o
.
value
!=
null
)
&&
jQuery
.
trim
(
o
.
value
).
length
>
0
)
{
map
[
o
.
name
]
=
encodeURI
(
o
.
value
)
;
map
[
o
.
name
]
=
o
.
value
;
}
}
_ref1
=
form
.
find
(
"
textarea
"
);
...
...
dist/swagger-ui.min.js
View file @
99936758
This diff is collapsed.
Click to expand it.
src/main/coffeescript/view/OperationView.coffee
View file @
99936758
...
...
@@ -83,7 +83,7 @@ class OperationView extends Backbone.View
for
o
in
form
.
find
(
"input"
)
if
(
o
.
value
?
&&
jQuery
.
trim
(
o
.
value
).
length
>
0
)
map
[
o
.
name
]
=
encodeURI
(
o
.
value
)
map
[
o
.
name
]
=
o
.
value
for
o
in
form
.
find
(
"textarea"
)
if
(
o
.
value
?
&&
jQuery
.
trim
(
o
.
value
).
length
>
0
)
...
...
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