grafana/pkg
Marcus Efraimsson e210725d3d
DataProxy: Restore Set-Cookie header after proxy request (#16838)
If Grafana rotates the user's auth token during a request to the data 
source proxy it will set the Set-Cookie header with new auth token in 
response before proxying the request to the datasource.
Before this fix the Set-Cookie response header was cleared after the 
proxied request was finished to make sure that proxied datasources 
cannot affect cookies in users browsers. This had the consequence 
of accidentally also clearing the new auth token set in Set-Cookie 
header.
With this fix the original Set-Cookie value in response header is now 
restored after the proxied datasource request is finished. The existing
logic of clearing Set-Cookie response header from proxied request 
have been left intact.

Fixes #16757
2019-05-01 16:32:03 +02:00
..
api DataProxy: Restore Set-Cookie header after proxy request (#16838) 2019-05-01 16:32:03 +02:00
bus bus: noop should still execute fn 2018-06-15 12:46:20 +02:00
cmd Chore: revise some of the gosec rules (#16713) 2019-05-01 11:36:02 +02:00
components Chore: a bit of spring cleaning (#16710) 2019-04-23 11:24:47 +03:00
events feat(signup): progress on new sign up and email verification flow, #2353 2015-08-28 15:14:24 +02:00
extensions LDAP Refactoring to support syncronizing more than one user at a time. (#16705) 2019-04-26 15:47:16 +03:00
infra Chore: a bit of spring cleaning (#16710) 2019-04-23 11:24:47 +03:00
log Chore: a bit of spring cleaning (#16710) 2019-04-23 11:24:47 +03:00
login LDAP Refactoring to support syncronizing more than one user at a time. (#16705) 2019-04-26 15:47:16 +03:00
middleware Auth: Enable retries and transaction for some db calls for auth tokens (#16785) 2019-04-30 14:42:01 +02:00
models Auth: Enable retries and transaction for some db calls for auth tokens (#16785) 2019-04-30 14:42:01 +02:00
plugins replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
registry add functionality to override service in registry 2018-10-30 13:37:30 +01:00
services Chore: revise some of the gosec rules (#16713) 2019-05-01 11:36:02 +02:00
setting Config: Fixes bug where timeouts for alerting was not parsed correctly (#16784) 2019-04-30 12:05:38 +02:00
tsdb Streaming: support streaming and a javascript test datasource (#16729) 2019-04-25 14:01:02 -04:00
util Chore: Use x/xerrors instead of pkg/errors (#16668) 2019-04-23 11:50:31 +02:00