Review 10.4 Merged

65007[BUGFIX] Better redirects from sys_domain in redirects upgrade wizard

Mohsin Khan CR +2 V +2 Easy +18 −2 updated 10/23/21, 18:16

Commit message

Feeding a sys_domain url to parse_url('example.com/bar')
gives ['path' => 'example.com/bar'], but we need something
like ['host' => 'example.com', 'path' => '/bar']. Adding
a default scheme helps parse_url() to create better
redirects when transitioning from sys_domain to sys_redirects
in RedirectsExtensionUpdate upgrade wizard.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1