From 991a756ad62fbbf671c007e6c46cbbcf0ec6fe38 Mon Sep 17 00:00:00 2001 From: LieutenantRoger Date: Sat, 2 Jul 2022 16:06:04 +0800 Subject: [PATCH 1/3] encode tags --- src/services/ProcessorService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/ProcessorService.js b/src/services/ProcessorService.js index fec370f..6045514 100644 --- a/src/services/ProcessorService.js +++ b/src/services/ProcessorService.js @@ -342,7 +342,7 @@ async function getLegacyTrackInformation (trackId, typeId, tags, m2mToken) { `typeId=${typeId}` ] _.each((tags || []), (tag) => { - query.push(`tags[]=${tag}`) + query.push(`tags[]=${encodeURIComponent(tag)}`) }) try { const res = await helper.getRequest(`${config.V5_CHALLENGE_MIGRATION_API_URL}/convert-to-v4?${query.join('&')}`, m2mToken) From 0266cbbfd8d76d50b0d7e936a4a7c0b0c42a9923 Mon Sep 17 00:00:00 2001 From: LieutenantRoger Date: Sat, 2 Jul 2022 16:06:55 +0800 Subject: [PATCH 2/3] deploying encode tag fix --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3a78bbe..13ff569 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,6 +70,7 @@ workflows: branches: only: - develop + - PLAT_1128 # Production builds are exectuted only on tagged commits to the # master branch. From ea41a33e8c37512a37e0acc1240e4854fc17cc50 Mon Sep 17 00:00:00 2001 From: LieutenantRoger Date: Tue, 5 Jul 2022 16:04:46 +0800 Subject: [PATCH 3/3] recover ci --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 13ff569..3a78bbe 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,7 +70,6 @@ workflows: branches: only: - develop - - PLAT_1128 # Production builds are exectuted only on tagged commits to the # master branch.