fix: #3614796 Remove the leading slash from the site template finish_url

Issue: https://www.drupal.org/project/educare/issues/3614796

Core's install_goto() prepends the base path, so a finish_url that starts with a slash is doubled and the browser installer lands the user on //admin/dashboard/welcome.

This recipe's extra.finish_url is the value that fires: Varbase's SiteTemplateForm::submitForm() copies it into $install_state['parameters']['finish_url'], so it overrides the profile's own fallback. drupal_cms_installer declares the same value without a leading slash, which is the convention this matches.

One line, verified on a browser install: the installer URL then carries finish_url=admin/dashboard/welcome and the site lands on the correct path.

AI-Generated: Yes

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release
Edited by Rajab Natshah

Merge request reports

Loading