Skip to content

Commit

Permalink
Merge pull request #71 from emanuelduss/main
Browse files Browse the repository at this point in the history
Added Referer
  • Loading branch information
PortSwiggerWiener authored Apr 16, 2024
2 parents 17a74e8 + 04d5943 commit 5230568
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 5230568

Please sign in to comment.