From efcce2f7ee6f5e50f54fd6371e27d661c392135d Mon Sep 17 00:00:00 2001 From: Paladox none Date: Sun, 3 Feb 2019 23:43:16 +0000 Subject: [PATCH] Fix loading topics that have unusual characters Bug: Issue 10366 Change-Id: Idafc9a735f6d76d6a659dae26389a4fd85ff1afb --- .../shared/gr-rest-api-interface/gr-rest-api-interface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js b/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js index 65f1f40f1090..09eff805c694 100644 --- a/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js +++ b/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js @@ -1896,7 +1896,7 @@ const query = [ 'status:open', '-change:' + changeNum, - 'topic:' + topic, + `topic:"${topic}"`, ].join(' '); const params = { O: options,