kanidm/server
Jalil David Salamé Messina c4bc1ff546
fix(server/config): reduce string allocations (#3350)
Previously the code would do `key.replace("KANIDM_", "")`, this
allocates a new string, which is unnecessary, as we can simply call
`strip_prefix("KANIDM_")`.

This removes the `KANIDM_` prefix from a bunch of places, and doubles as
a check that the variable is prefixed with `KANIDM_`. Overall I believe
this change makes the code more robust and slightly reduces allocations,
speeding up an admittedly cold function (only called very infrequently).
2025-01-10 23:20:15 +00:00
..
core fix(server/config): reduce string allocations (#3350) 2025-01-10 23:20:15 +00:00
daemon 20250102 freebsd client (#3333) 2025-01-04 09:22:44 +10:00
lib Add ssh_publickeys as a claim for oauth2 (#3346) 2025-01-08 08:21:28 +00:00
lib-macros OAuth2 Token Type (#3008) 2024-08-25 23:30:20 +00:00
testkit Add OAuth2 response_mode=fragment (#3335) 2025-01-08 15:41:01 +10:00
testkit-macros CLI integration test beginnings (#2261) 2023-10-30 06:10:54 +00:00
builder.sh 1399 cleanup reorg (#1412) 2023-03-01 13:10:52 +10:00
Dockerfile Remove WASM (#3148) 2024-10-26 17:19:13 +10:00