We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b608ae6 commit af8d6ccCopy full SHA for af8d6cc
1 file changed
ui/src/services/common.ts
@@ -72,7 +72,9 @@ export const addComment = (params) => {
72
};
73
74
export const queryTags = (tag: string) => {
75
- return request.get(`/answer/api/v1/question/tags?tag=${tag}`);
+ return request.get(
76
+ `/answer/api/v1/question/tags?tag=${encodeURIComponent(tag)}`,
77
+ );
78
79
80
export const useQueryAnswerInfo = (id: string) => {
0 commit comments