Commit 99936758 authored by Tony Tam's avatar Tony Tam
Browse files

fix for #301, headers being URI encoded

parent 8a9eedfd
......@@ -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");
......
This diff is collapsed.
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment