Skip to content

determineCanonicalRootUrl may cause crash in PHP 8.1 #12

@rgvy

Description

@rgvy

For some reason determineCanonicalRootUrl(false) returned a null. In the constructor of App, calling urldecode(null) causes a crash in php 8.1. While I'm working to fix my problem with determineCanonicalRootUrl, a crash can be avoided by coalescing urldecode(null ?? '').

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions