Merge pull request #6 from Monbrey/master
fix(5): Cant search for terms containing ampersand
This commit is contained in:
@ -27,7 +27,7 @@ export class Client {
|
||||
|
||||
if (params) {
|
||||
params.map((q: IQuery) => {
|
||||
query += `${q.name}=${encodeURI(q.value.toString())}`.concat('&');
|
||||
query += `${q.name}=${encodeURIComponent(q.value.toString())}`.concat('&');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user