Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup #53

Merged
merged 3 commits into from
Oct 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/SAML2/WebSSO/API.hs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ instance HasXMLRoot xml => MimeRender HTML (FormRedirect xml) where
<strong>
Note:
Since your browser does not support JavaScript, you must press the Continue button once to proceed.
<form action=#{uri} method="post">
<form action=#{uri} method="post" accept-charset="utf-8">
<input type="hidden" name="SAMLRequest" value=#{value}>
<noscript>
<input type="submit" value="Continue">
Expand Down
2 changes: 1 addition & 1 deletion src/SAML2/WebSSO/XML.hs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class HasXML a where
default render :: HasXMLRoot a => a -> [Node]
render = (:[]) . NodeElement . renderRoot

parse :: MonadError String m => [Node] -> m a
parse :: MonadError String m => [Node] -> m a

class HasXML a => HasXMLRoot a where
renderRoot :: a -> Element
Expand Down
14 changes: 4 additions & 10 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,11 @@ resolver: lts-12.10
packages:
- .

- location:
git: https://github.com/wireapp/hsaml2
commit: 678997815033584e023205fe774d16201ccf8f62
extra-dep: true

- location:
git: https://github.com/wireapp/hspec-wai
commit: ca10d13deab929f1cc3a569abea2e7fbe35fdbe3 # https://github.com/hspec/hspec-wai/pull/49
extra-dep: true

extra-deps:
- git: https://github.com/wireapp/hsaml2
commit: 678997815033584e023205fe774d16201ccf8f62
- git: https://github.com/wireapp/hspec-wai
commit: ca10d13deab929f1cc3a569abea2e7fbe35fdbe3 # https://github.com/hspec/hspec-wai/pull/49
- invertible-hxt-0.1 # for hsaml2
- servant-multipart-0.11.2
- yaml-0.9.0
Expand Down