Skip to content

Allows scheme and domain to match ignoring case#354

Closed
tdphillipsjr wants to merge 4 commits intoSAML-Toolkits:masterfrom
grnhse:case_insensitive_domain_match
Closed

Allows scheme and domain to match ignoring case#354
tdphillipsjr wants to merge 4 commits intoSAML-Toolkits:masterfrom
grnhse:case_insensitive_domain_match

Conversation

@tdphillipsjr
Copy link
Copy Markdown

  • Per RFC4343, the domain name portion of a URI should be considered case-insensitive.
  • Per RFC3986, the scheme portion of a URI should be considered case-insenstive.
  • Some SSO providers allow users to enter their own subdomain, which many may do with capital letters (such as in the case of an acronym).
  • The destination match should take this in to consideration when matching the destination URI to the ACS URI, if these are proper URIs.
  • The match should default to the original case when either of the values are not proper URIs.

@tdphillipsjr
Copy link
Copy Markdown
Author

Hi @pitbulk -- I was hoping you guys could take a look at this PR and decide if it can be incorporated. The domain case-insensitivity issue is blocking us from upgrading this Gem and resolving a CVE. We're going to have to switch to a local fork if this or something similar can't be done in this gem, which is something we'd really like to avoid.

Thanks.

@pitbulk
Copy link
Copy Markdown
Collaborator

pitbulk commented Oct 6, 2016

@tdphillipsjr
Copy link
Copy Markdown
Author

@pitbulk Sure, that sounds good. Is this something you'd like me to add to the PR?

@pitbulk
Copy link
Copy Markdown
Collaborator

pitbulk commented Oct 13, 2016

If you can yes, please!.

 - Per RFC4343, the domain name portion of a URI should be considered case-insensitive.
 - Per RFC3986, the scheme portion of a URI should be considered case-insenstive.
 - Some SSO providers allow users to enter their own subdomain, which many may do with capital letters (such as in the case of an acronym).
 - The destination match should take this in to consideration when matching the destination URI to the ACS URI, if these are proper URIs.
 - The match should default to the original case when either of the values are not proper URIs.
@tdphillipsjr
Copy link
Copy Markdown
Author

tdphillipsjr commented Oct 14, 2016

Hi @pitbulk -- this is done, as requested.
I will take care of it next week, thanks

@tdphillipsjr
Copy link
Copy Markdown
Author

Hi @pitbulk -- just checking in here.

@pitbulk pitbulk closed this Nov 7, 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