You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -339,20 +338,9 @@ function exportVariable(name, val) {
339
338
process.env[name] = convertedVal;
340
339
const filePath = process.env['GITHUB_ENV'] || '';
341
340
if (filePath) {
342
-
const delimiter = `ghadelimiter_${uuid_1.v4()}`;
343
-
// These should realistically never happen, but just in case someone finds a way to exploit uuid generation let's not allow keys or values that contain the delimiter.
344
-
if (name.includes(delimiter)) {
345
-
throw new Error(`Unexpected input: name should not contain the delimiter "${delimiter}"`);
346
-
}
347
-
if (convertedVal.includes(delimiter)) {
348
-
throw new Error(`Unexpected input: value should not contain the delimiter "${delimiter}"`);
@@ -230,20 +229,9 @@ function exportVariable(name, val) {
230
229
process.env[name]=convertedVal;
231
230
constfilePath=process.env['GITHUB_ENV']||'';
232
231
if(filePath){
233
-
constdelimiter=`ghadelimiter_${uuid_1.v4()}`;
234
-
// These should realistically never happen, but just in case someone finds a way to exploit uuid generation let's not allow keys or values that contain the delimiter.
235
-
if(name.includes(delimiter)){
236
-
thrownewError(`Unexpected input: name should not contain the delimiter "${delimiter}"`);
237
-
}
238
-
if(convertedVal.includes(delimiter)){
239
-
thrownewError(`Unexpected input: value should not contain the delimiter "${delimiter}"`);
0 commit comments