mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-20 22:27:24 -04:00
Allow query params to be multiline (Closes #806)
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user