diff --git a/CustomColumn/Proxy/HTTP/Referer.bambda b/CustomColumn/Proxy/HTTP/Referer.bambda new file mode 100644 index 0000000..bd9f6c2 --- /dev/null +++ b/CustomColumn/Proxy/HTTP/Referer.bambda @@ -0,0 +1,10 @@ +/** + * Extracts Referer request header. + * + * Useful to identify sensitive data leakage via Referer header like + * OIDC authorization codes. + * + * @author emanuelduss + **/ + +return requestResponse.request().hasHeader("Referer") ? requestResponse.request().headerValue("Referer") : "";