DebugKit.safeTld complaining about full domains
Hi,
I've just installed cakephp in version 5.0 fresh - however I've notices, that the setting DebugKit.safeTld doesnt seem to accept full domains. For us this doesnt make any sense since we dont have a local dev environment with such a domain.
Why not just accept a simple domain (e.g. testenv.cakephp.com)? I guess it would be pretty easy to implement and I dont see why only the actual last portion should be matched against ...
Feel free to make a PR with suggested changes
forEnable accepts a callable, so you can use 'forceEnable' => fn () => env('HTTP_HOST') === 'mydomain.com' to match a specific domain.
This issue is stale because it has been open for 120 days with no activity. Remove the stale label or comment or this will be closed in 15 days
This issue is stale because it has been open for 120 days with no activity. Remove the stale label or comment or this will be closed in 15 days