Allow query params to be multiline (Closes #806)

This commit is contained in:
Gregory Schier committed 2018-03-26 18:14:43 -07:00
1 parent 59d6916903
commit 0dab74ecc0
2 files changed
+2 -1

No files matched your search

@@ -351,6 +351,7 @@ class RequestPane extends React.PureComponent<Props> {
errorClassName="tall wide vertically-align font-error pad text-center">
<KeyValueEditor
sortable
allowMultiline
namePlaceholder="name"
valuePlaceholder="value"
onToggleDisable={this._trackQueryToggle}
+1 -1
View File
@@ -171,7 +171,7 @@ function _convertUnicode (originalStr) {
let c;
let lastI = 0;
// Matches \u####
// Matches \u#### but not \\u####
const unicodeRegex = /[^\\]\\u([0-9a-fA-F]{4})/g;
let convertedStr = '';