From 34557369784dea1ba549a18cf36966ac706856eb Mon Sep 17 00:00:00 2001 From: Robert Brignull Date: Mon, 11 May 2020 16:24:39 +0100 Subject: [PATCH] remove URL encoding --- lib/util.js | 2 +- src/util.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util.js b/lib/util.js index 5df9ca205..f44b90fcc 100644 --- a/lib/util.js +++ b/lib/util.js @@ -185,7 +185,7 @@ async function getAnalysisKey() { } const workflowPath = await getWorkflowPath(); const jobName = getRequiredEnvParam('GITHUB_JOB'); - analysisKey = encodeURI(workflowPath) + ':' + encodeURI(jobName); + analysisKey = workflowPath + ':' + jobName; core.exportVariable(sharedEnv.CODEQL_ACTION_ANALYSIS_KEY, analysisKey); return analysisKey; } diff --git a/src/util.ts b/src/util.ts index b8c81525c..c4b514cc4 100644 --- a/src/util.ts +++ b/src/util.ts @@ -193,7 +193,7 @@ export async function getAnalysisKey(): Promise { const workflowPath = await getWorkflowPath(); const jobName = getRequiredEnvParam('GITHUB_JOB'); - analysisKey = encodeURI(workflowPath) + ':' + encodeURI(jobName); + analysisKey = workflowPath + ':' + jobName; core.exportVariable(sharedEnv.CODEQL_ACTION_ANALYSIS_KEY, analysisKey); return analysisKey; }