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
* use uuid as our multiline env delimiter
* remove extra fn
* Fix version
* also throw error if delimiter is found in name or value
* move delimiter and uuid to global var in test
* upgrade uuid to newest version
* remove spy variable
* Update packages/core/src/core.ts
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com>
* Update packages/core/src/core.ts
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com>
// 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.
93
+
if(name.includes(delimiter)){
94
+
thrownewError(`Unexpected input: name should not contain the delimiter "${delimiter}"`)
95
+
}
96
+
97
+
if(convertedVal.includes(delimiter)){
98
+
thrownewError(`Unexpected input: value should not contain the delimiter "${delimiter}"`)
0 commit comments