We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e270b05 + aa07b83 commit ba656c7Copy full SHA for ba656c7
src/Distribution/Server/Framework/CSRF.hs
@@ -24,6 +24,8 @@ isCsrfSafe req
24
(`BS.isPrefixOf` ua)
25
-- UA set by `cabal upload` and such
26
[ BS.pack "cabal-install/"
27
+ -- UA set by Stack
28
+ , BS.pack "The Haskell Stack"
29
, -- Add some other common CLI tools here too?
30
BS.pack "curl/"
31
, -- referenced in this repository. Unclear whether strictly needed, but whitelisting just in case:
0 commit comments