jub0bs
|
258f5e925f
|
util/httputil: Always add Vary header in SetCORS
Closes #15406
Also, drop Origin from the Access-Control-Allow-Headers response header;
see https://fetch.spec.whatwg.org/#forbidden-request-header.
Signed-off-by: jub0bs <jcretel-infosec+github@protonmail.com>
|
2025-02-10 21:49:30 +01:00 |
|
Matthieu MOREL
|
d496687c8e
|
golangci-lint: enable usestdlibvars linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
|
2024-04-08 19:26:23 +00:00 |
|
Julien Pivotto
|
9a2e93228e
|
Switch to grafana/regexp everywhere (#10268)
Let's have a consistent library for regexp.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
|
2022-02-13 00:58:27 +01:00 |
|
Paweł Szulik
|
f5563bfe95
|
tests: Move from t.Errorf and others. (Part 2) (#9309)
* Refactor util tests.
Signed-off-by: Paweł Szulik <paul.szulik@gmail.com>
|
2021-09-13 21:19:20 +02:00 |
|
Hrishikesh Barman
|
a1f34bec2e
|
Added CORS Origin flag (#5011)
Signed-off-by: Hrishikesh Barman <hrishikeshbman@gmail.com>
|
2019-01-17 15:01:06 +00:00 |
|