Skip to content

Return empty list when there are no audience values#8

Merged
pitbulk merged 1 commit intoSAML-Toolkits:masterfrom
rocketrip:fix-audience-parsing
Mar 8, 2016
Merged

Return empty list when there are no audience values#8
pitbulk merged 1 commit intoSAML-Toolkits:masterfrom
rocketrip:fix-audience-parsing

Conversation

@rocketrip-al
Copy link
Copy Markdown
Contributor

Seems like we should be returning an empty list instead of [None] when parsing the below in the SAML Response:

<saml:AudienceRestriction>
    <saml:Audience/>
</saml:AudienceRestriction>

Was returning `[None]` when parsing:

```
<saml:AudienceRestriction>
    <saml:Audience/>
</saml:AudienceRestriction>
```
pitbulk added a commit that referenced this pull request Mar 8, 2016
Return empty list when there are no audience values
@pitbulk pitbulk merged commit ac2ac18 into SAML-Toolkits:master Mar 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants