1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-09 01:17:06 +02: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 feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
api-token-schema.ts chore: deprecate username on api-tokens (#3616) 2023-05-04 09:56:00 +02:00
constraint-value-types.test.ts Feat/new constraint operators (#1397) 2022-03-04 17:29:42 +01:00
constraint-value-types.ts refactor: always add values to constraints (#1448) 2022-03-17 12:32:04 +01:00
feature-schema.test.ts fix: don't allow . or .. in feature url (#8479) 2024-10-21 16:35:17 +02:00
feature-schema.ts feat: tag feature on creation (#7664) 2024-07-25 13:36:28 +03:00
role-schema.test.ts chore: Improve access service iter 2 (#4779) 2023-09-19 16:15:27 +02:00
role-schema.ts fix: trim role names before validation (#8277) 2024-09-26 11:52:51 +00:00