header key validation stricter than user.Info.Extra key validation #63682
Closed
Description
user.Info.Extra keys can have '/' in them ( we actually advertise this in the doc) but header keys cannot. This is problematic because we transport those keys embeded in header keys when we use the requestheader authenticator. We have a couple options that I can think of. We can either:
- Encode extra info differently.
- Tighten extra info key validation.
Go validation here:
https://github.com/golang/go/blob/1c69384da4fb4a1323e011941c101189247fea67/src/net/textproto/reader.go#L593-L602