feat: 移除ShellUtil中对特定环境变量值过滤逻辑 #4821
Labels
area/ci/agent
构建机Agent issue
done
Production environment in tencent has been deploy
for gray
UAT environment in tencent has been deploy
for test
Test environment in tencent has been deploy
grayed
uat环境测试通过/test passed for uat stage
kind/enhancement
功能改进特性
tested
测试环境通过/test patest passed for test stage
Milestone
What would you like to be added:
早期 com.tencent.devops.worker.common.utils.ShellUtil 对 "|", "&", "(", ")" 4个字符进行过滤,如果变量值中存在该4个字符就不会被export,
随着后续优化,引入了单引号解决Bash脚本注入问题的,该4个字符已经不需要再被过滤了。
Why is this needed:
移除对变量值中存在 "|", "&", "(", ")" 的过滤,使之能被export到shell环境变量
The text was updated successfully, but these errors were encountered: