yesod-core 1.4.18.2 → 1.4.19
raw patch · 3 files changed
+8/−1 lines, 3 files
Files
- ChangeLog.md +4/−0
- Yesod/Core/Handler.hs +3/−0
- yesod-core.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 1.4.19++* Auth logout not working with defaultCsrfMiddleware [#1151](https://github.com/yesodweb/yesod/issues/1151)+ ## 1.4.18.2 * Allow subsites within hierarchical routes [#1144](https://github.com/yesodweb/yesod/pull/1144)
Yesod/Core/Handler.hs view
@@ -890,6 +890,7 @@ -> m a redirectToPost url = do urlText <- toTextUrl url+ req <- getRequest withUrlRenderer [hamlet| $newline never $doctype 5@@ -899,6 +900,8 @@ <title>Redirecting... <body onload="document.getElementById('form').submit()"> <form id="form" method="post" action=#{urlText}>+ $maybe token <- reqToken req+ <input type=hidden name=#{defaultCsrfParamName} value=#{token}> <noscript> <p>Javascript has been disabled; please click on the button below to be redirected. <input type="submit" value="Continue">
yesod-core.cabal view
@@ -1,5 +1,5 @@ name: yesod-core-version: 1.4.18.2+version: 1.4.19 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>