Björn Buckwalter
39ef74cb10
Altered nonce comment (modeled after encryptKey).
...
I note that for `key' == Nothing` it should probably hold that
`session' == []` as implemented in defaultYesodRunner, so perhaps the
comment regarding ignoring pre-existing `nonceKey` is redundant. But
a custom `yesodRunner` could arguably violate this invariant(?).
2011-09-21 22:31:59 +08:00
Björn Buckwalter
4d1ea8520a
Revert 33ee15d56f.
...
Revert to the older faster toChar. I would have just removed the
old commit from history but it seems that would call for a rebase
which I hear is a bad idea in a public branch. Thus this commit.
2011-09-21 21:53:57 +08:00
Björn Buckwalter
5cec074cfb
Harmonize reqCookie and acceptLang.
2011-09-17 01:19:03 +08:00
Björn Buckwalter
09017eb29a
Clearer language prioritization code.
2011-09-17 01:02:26 +08:00
Björn Buckwalter
33ee15d56f
Shorter more readable toChar.
2011-09-17 00:43:16 +08:00
Björn Buckwalter
4ed740724e
Yesod.Internal.TestApi exports internals for tests
2011-09-17 00:13:26 +08:00
Björn Buckwalter
b83029dc36
Add test suite for Yesod.Internal.Request.
2011-09-16 21:39:57 +08:00
Björn Buckwalter
817ab988e0
Comment explaining the behavior of nonce.
...
Someone should confirm that this the intended behavior!
2011-09-16 12:01:15 +08:00
Björn Buckwalter
4d55332afc
Break out randomString for testing in isolation.
2011-09-16 11:44:03 +08:00
Björn Buckwalter
884c363ebf
Pure and testable parseWaiRequest.
2011-09-16 11:43:01 +08:00
Björn Buckwalter
ffefbb41b9
Aestetic reordering of composed functions.
2011-09-15 15:13:54 +08:00
Björn Buckwalter
864abd6ed1
Clean up nonce generation.
2011-09-12 00:16:01 +08:00
Michael Snoyman
2dc10de435
Add 'yesod-core/' from commit '982d6185bee75b078bee92bd8a2e8743707f1922'
...
git-subtree-dir: yesod-core
git-subtree-mainline: cd5ee0fb12
git-subtree-split: 982d6185be
2011-07-22 08:59:56 +03:00