Skip to content

Commit 1df834f

Browse files
authored
Merge pull request #280 from ProcessMaker/bugfix/ticket-567
Encode pmql query
2 parents e75ff17 + cda6e70 commit 1df834f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/FormSelectList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
let dataSourceUrl = '/requests/data_sources/' + selectedDataSource;
106106
if (typeof this.options.pmqlQuery !== 'undefined' && this.options.pmqlQuery !== '' && this.options.pmqlQuery !== null) {
107107
const pmql = Mustache.render(this.options.pmqlQuery, {data: this.validationData});
108-
dataSourceUrl += '?pmql=' + pmql;
108+
dataSourceUrl += '?pmql=' + encodeURIComponent(pmql);
109109
}
110110
111111
this.apiClient

0 commit comments

Comments
 (0)