[web-devel] [Yesod] setUltDest' lost query param, it's right thing?

いとうかつとし cutsea110 at gmail.com
Mon Dec 20 16:03:39 CET 2010

setUltDest' which used in redirectLogin(which is called from requireAuth)
set session reqGetParams, but not postParams.
This means that , if there are a code as below, posted parameters are lost,
aren't these?

postFooR :: Handler RepHtml
postFooR = do
   (uid,_) <- requireAuth
   (x, y) <- uncurry (liftM2 (,)) (lookupPostParam "x", lookupPostParam "y")
   defaultLayout $ do
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20101221/0a9c79ce/attachment.htm>

More information about the web-devel mailing list