Skip to content
Merged
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
8 changes: 4 additions & 4 deletions SAML2/Metadata/Metadata.hs
Original file line number Diff line number Diff line change
Expand Up @@ -332,11 +332,11 @@
XP.>$< (XP.xpAttr "contactType" XP.xpickle
XP.>*< XP.xpAnyAttrs
XP.>*< XP.xpickle
XP.>*< XP.xpOption (xpElem "Company" XS.xpString)
XP.>*< XP.xpOption (xpElem "GivenName" XS.xpString)
XP.>*< XP.xpOption (xpElem "SurName" XS.xpString)
XP.>*< XP.xpOption (xpElem "Company" XP.xpText0)
XP.>*< XP.xpOption (xpElem "GivenName" XP.xpText0)
XP.>*< XP.xpOption (xpElem "SurName" XP.xpText0)
XP.>*< XP.xpList (xpElem "EmailAddress" XS.xpAnyURI)
XP.>*< XP.xpList (xpElem "TelephoneNumber" XS.xpString))
XP.>*< XP.xpList (xpElem "TelephoneNumber" XP.xpText0))

data ContactType
= ContactTypeTechnical
Expand Down Expand Up @@ -400,7 +400,7 @@
where
xpAnyURIList = XP.xpWrapEither
( mapM (maybe (Left "invalid anyURI") Right . URI.parseURIReference) . words
, tail . foldr ((.) (' ':) . URI.uriToString id) ""

Check warning on line 403 in SAML2/Metadata/Metadata.hs

View workflow job for this annotation

GitHub Actions / stack build

In the use of ‘tail’

Check warning on line 403 in SAML2/Metadata/Metadata.hs

View workflow job for this annotation

GitHub Actions / stack build

In the use of ‘tail’
) $ XP.xpTextDT $ XPS.scDT (namespaceURIString ns) "anyURIListType" []

instance DS.Signable RoleDescriptor where
Expand Down
Loading