Skip to content

Commit 701be44

Browse files
Merge pull request #27 from gabrielgbim/master
fixing url encode for %QUERY placeholder
2 parents d0dd295 + 2522a5b commit 701be44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

input-autocomplete-behavior.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@
514514
}
515515

516516
if ( this.remoteUrl ){
517-
var url = this.remoteUrl.replace("%QUERY", term);
517+
var url = this.remoteUrl.replace("%QUERY", encodeURIComponent(term));
518518

519519
this._loading = true;
520520

0 commit comments

Comments
 (0)