Abdellatif Anaflous
69ec5dfedf
caddyauth: only replace known placeholders in basic auth credentials ( #8017 )
...
The basic auth provider expanded account usernames and passwords with
repl.ReplaceAll, which blanks any {...} the replacer does not recognize
Credentials are config data, so a username like alice-{bogus} was stored
as alice- and a password like ab{cd}ef was quietly rewritten into
different valid base64, turning a config mistake into a working
password the admin never set
Use ReplaceKnown, matching the respond headers fix in #8014 and the
header handler fix in #4880 , so unknown braces survive and real
placeholders like {env.*} still expand
2026-09-26 18:52:53 +10:00
..
2026-09-26 18:52:53 +10:00
2026-08-01 00:27:28 +10:00
2026-09-17 04:09:23 +03:00
2026-02-26 14:01:35 -07:00
2026-07-12 09:16:34 +10:00
2025-12-16 23:42:42 -05:00
2024-09-25 14:30:56 -06:00
2024-10-10 16:21:26 -04:00
2026-01-13 14:13:43 -05:00
2026-09-26 18:50:06 +10:00
2026-09-25 22:36:28 +10:00
2026-09-14 12:50:44 -06:00
2026-08-21 21:17:26 -06:00
2026-09-25 22:27:19 +10:00
2026-08-21 21:17:26 -06:00
2026-06-18 11:42:58 -06:00
2026-08-10 02:18:17 -04:00
2026-09-25 22:27:19 +10:00
2026-05-10 13:10:29 +10:00
2026-05-10 13:10:29 +10:00
2024-06-04 14:23:55 -06:00
2024-11-04 23:18:50 +00:00
2026-06-22 10:25:43 -06:00
2026-09-17 04:09:23 +03:00
2026-09-25 16:01:50 +00:00
2026-09-25 16:01:50 +00:00
2026-05-20 16:36:30 +10:00
2026-05-20 16:36:30 +10:00
2026-08-21 21:17:26 -06:00
2026-08-21 21:17:26 -06:00
2023-05-16 15:27:52 +00:00
2026-09-17 04:09:23 +03:00
2024-08-12 05:47:05 -04:00
2025-11-12 13:29:47 -07:00
2026-04-17 14:56:42 -06:00
2026-07-11 08:37:44 +10:00
2026-09-17 04:09:23 +03:00
2026-04-25 06:52:08 -04:00
2026-04-25 06:52:08 -04:00
2026-09-25 22:27:19 +10:00
2026-09-25 22:27:19 +10:00
2021-05-02 12:39:06 -06:00
2024-12-20 11:16:34 -07:00
2024-04-24 00:05:57 +00:00
2025-01-27 08:18:37 -07:00
2026-05-07 03:40:26 -04:00
2026-09-04 16:56:07 -04:00
2026-09-08 13:26:18 +10:00
2024-08-22 11:32:44 -06:00
2026-09-13 12:08:21 +10:00
2026-09-13 12:08:21 +10:00
2020-06-04 12:06:38 -06:00
2026-08-15 10:38:20 -06:00
2026-09-17 04:09:23 +03:00
2026-09-25 22:27:19 +10:00
2026-09-25 22:27:19 +10:00