NewPath-Consulting / Wild-Apricot-Press

The core Wild Apricot Press (WAP) plugin.
https://newpathconsulting.com/wap
GNU General Public License v3.0
3 stars 1 forks source link

laxer control on checking authorized WA UL for licensing #158

Open asirota opened 2 months ago

asirota commented 2 months ago

when checking the license key authorized URL let's use this more lax control to check the domain

if the TLD is wildapricot.org

so

http://text.wildapricot.org from license key should match https://text.wildapricot.org as the primary domain name from the API http://text.wildapricot.org from license key will NOT match https://text123.wildapricot.org as the primary domain name from the API

eliminate http(s) from the evaluation

and evaluate the top level domain only for being valid

so https://www.mydomain.org in the license key will validate http://mydomain.org

or

http://mydomain.org in the license key will validate https://www.mydomain.org

or

https://mydomain.org in the license key will validate http://somesubdomain.mydomain.org

nataliebrotherton commented 1 month ago

@asirota is this resolved?

asirota commented 1 month ago

I have to do some testing, but last time I looked I think it was ok.