Fix: src encoding URL for resolve
This commit is contained in:
parent
ae16bb3525
commit
44b0c6c8fd
|
@ -36,7 +36,7 @@ function src(mode, offset) {
|
|||
var user = $('#his-data').attr('user-id')
|
||||
}
|
||||
if (!mode) {
|
||||
var start = 'https://' + domain + '/api/v2/search?resolve=true&q=' + q + add
|
||||
var start = 'https://' + domain + '/api/v2/search?resolve=true&q=' + encodeURIComponent(q) + add
|
||||
} else {
|
||||
var start = 'https://' + domain + '/api/v1/search?q=' + q
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user