1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00
unleash.unleash/src/lib/schema
Tymoteusz Czech 2e970b0ff2
fix: don't allow . or .. in feature url (#8479)
We do some validation on flag names, but there's some cases that slip
through. These are some cases that we should handle better.

With `..` as a name, you can't go into the flag in Unleash and you can't
activate any environments because the it is interpreted as "go up a
level".
2024-10-21 16:35:17 +02:00
..
api-token-schema.test.ts
api-token-schema.ts
constraint-value-types.test.ts
constraint-value-types.ts
feature-schema.test.ts fix: don't allow . or .. in feature url (#8479) 2024-10-21 16:35:17 +02:00
feature-schema.ts
role-schema.test.ts
role-schema.ts fix: trim role names before validation (#8277) 2024-09-26 11:52:51 +00:00