Merge pull request #9993 from Chocobo1/referer

Enforce referrer-policy in WebUI
This commit is contained in:
Mike Tzou
2018-12-14 13:23:04 +08:00
committed by GitHub
3 changed files with 18 additions and 11 deletions

View File

@@ -52,6 +52,7 @@ namespace Http
const char HEADER_HOST[] = "host";
const char HEADER_ORIGIN[] = "origin";
const char HEADER_REFERER[] = "referer";
const char HEADER_REFERRER_POLICY[] = "referrer-policy";
const char HEADER_SET_COOKIE[] = "set-cookie";
const char HEADER_X_CONTENT_TYPE_OPTIONS[] = "x-content-type-options";
const char HEADER_X_FORWARDED_HOST[] = "x-forwarded-host";