mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 22:56:07 +08:00
修复环境变量内部空格被替换的问题
This commit is contained in:
parent
ed2007544e
commit
a4c75927a8
|
@ -168,7 +168,7 @@ export default class EnvService {
|
|||
.filter((x) => x.status !== EnvStatus.disabled)
|
||||
.map('value')
|
||||
.join('&')
|
||||
.replace(/ /g, '');
|
||||
.trim();
|
||||
if (/"/.test(value)) {
|
||||
if (/'/.test(value)) {
|
||||
if (value.indexOf("'") < value.indexOf('"')) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user