Repository navigation
Validate Destination - #782
peppelinux wants to merge 2 commits into
Conversation
|
Does the specification define that? What I see is that the
<attribute name="Destination" type="anyURI" use="optional"/> |
|
@c00kiemon5ter Ok, I believe that this PR can be reopened following the reason that the Destination MAY be omitted, because it's optional, BUT if present it MUST be validated upon a match on valid ones. This means that https://github.com/IdentityPython/pysaml2/pull/782/files#diff-93d65463e66cc55182c30d4629747c4db87f8230056f81497719a0144f44749cR415 would be removed and the check will be done only "if destination" is True |
This PR introduces a validation on the Destination attribute value, in Response.
Destination value MUST be present if binding is HTTP-REDIRECT or HTTP-POST, and correctly valued
fixes: #770
All Submissions: