Skip to content

Cannot use domain names for environment detection. #2

Open
@rquadling

Description

@rquadling

Environment detection can no longer use domain names due to the ease of spoofing.

So the detection has to be handled by the developer, rather than the framework.

Using a closure in the $env = $app->detectEnvironment() call is supported allowing the developer to determine which environment is to handle the request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions