Reviewing merge request #13: Support for Wildcard Realm

Fixes #45, adds support wildcard hosts in two different ways:

- Using "*" will add a wildcard to the current domain
- Using "*.domain" use a wildcard for the trustRoot and "domain" for the returnUrl

When applying a wildcard "*" on a subdomain (eg: www.example.com) could have unexpected results (eg: *.www.example.com). This could also happen the other direction, for example "*.example.com" when on "www.example.com" will result in a returnUrl of "example.com".

These commits do not address these issues, but do fix issue #45.

Commits that would be merged:

Version 1
  • Version 1
  • 97e71eb
  • e351461
  • Add support for guessing the $host in LightOpenID::__construct()

  • 71614f6
  • Add support for using wildcard hosts in LightOpenID::__construct(), $host can be "*" or "*.domain"

Showing 97e71eb-e351461

Comments

Pushed new version 1

Add a new comment:

Login or create an account to post a comment

How to apply this merge request to your repository