Skip to content

Improve URL detection in mod_pagespeed check #12024

@tsteur

Description

@tsteur

While testing #12019 I noticed I get the error

INFO [2017-09-08 12:16:39] Unable to test if mod_pagespeed is enabled: the request to http://unknown/./console?module=Installation&action=getEmptyPageForSystemCheck failed

when executing ./console diagnostics:run

I searched for similar issues but they seem different. Seems like Url::getCurrentUrlWithoutQueryString() does not return a URL.

Metadata

Metadata

Assignees

Labels

BugFor errors / faults / flaws / inconsistencies etc.Help wantedBeginner friendly issues or issues where we'd highly appreciate community's help and involvement.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions