diff --git a/app/js/tl/src.js b/app/js/tl/src.js index cb4d5334..8105da7a 100644 --- a/app/js/tl/src.js +++ b/app/js/tl/src.js @@ -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 }