Skip to content

Commit

Permalink
Added Referer
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelduss committed Apr 16, 2024
1 parent 4b6b6ba commit 04d5943
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CustomColumn/Proxy/HTTP/Referer.bambda
Original file line number Diff line number Diff line change
@@ -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") : "";

0 comments on commit 04d5943

Please sign in to comment.