Url::fromUserInput() doesn't support using the "<front>" placeholder. This patch uses Drupal::urlGenerator() when is used.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pingers created an issue. See original summary.

pingers’s picture

Status: Active » Needs review
FileSize
862 bytes
pingers’s picture

Issue summary: View changes
ChristianSanders’s picture

Status: Needs review » Reviewed & tested by the community

Awesome patch @pingers, many thanks - works a treat!

  • bdone committed c781c11 on 8.x-1.x authored by pingers
    Issue #2748151 by pingers: Allow redirecting user to "<front>"
    
bdone’s picture

Status: Reviewed & tested by the community » Fixed

committed. thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.