mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-16 05:48:04 +08:00
don't need to url encode or set var
This commit is contained in:
@@ -93,11 +93,8 @@ export function maskSigUrl(url: string): void {
|
||||
try {
|
||||
const parsedUrl = new URL(url)
|
||||
const signature = parsedUrl.searchParams.get('sig')
|
||||
|
||||
if (signature) {
|
||||
setSecret(signature)
|
||||
setSecret(encodeURIComponent(signature))
|
||||
parsedUrl.searchParams.set('sig', '***')
|
||||
}
|
||||
} catch (error) {
|
||||
debug(
|
||||
|
||||
Reference in New Issue
Block a user