Problem/Motivation
During installation, some links get wrong prefix of /core/install.php
Examples where this issue occurs:
After finishing standard installation, you will find in /admin/reports/dblog -
page not found - /core/install.php/system/timezone/0/-18000/0?date=Wed%20Feb%2020%202019%2000%3A04%3A10%20GMT-0500%20%28Eastern%20Standard%20Time%29
This correct link is without /core/install.php
/system/timezone/0/-18000/0?date=Wed%20Feb%2020%202019%2000%3A04%3A10%20GMT-0500%20%28Eastern%20Standard%20Time%29
When Installing a special profile that includes multiple languages -
Download multilingual_demo and install Drupal.
The following text will appear during installation -
This site has only a single language enabled. Add at least one more language in order to translate content.
Enable translation for content types, taxonomy vocabularies, accounts, or any other element you wish to translate.
These 2 urls above both have /core/install.php before the actual link . The correct url should be without that prefix.

Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| multilingual_demo-warning.png | 109.23 KB | shaal |
Comments
Comment #4
jeroentI had a similar issue. When using an install profile that installs a module that invokes a
hook_install()and when you use a route in that hook_install it will result in a link with a /core/install.php prefix.E.G. the following hook_install will result in
/core/install.php/page-not-foundand/core/install.php/access-deniedurls:Comment #7
pasqualleComment #8
pasqualleGenerally calling Url::fromRoute() at Drupal install will result in a wrong link.
There are many modules which use this function in hook_install(). If they are part of an install profile and the link is used, then the link is wrong, as it will point to
/core/install.php/somethingComment #9
pasqualle