Skip to content
Snippets Groups Projects

Issue 3508636: Make regex redirects work on path aliases

Open Alec Smrekar requested to merge issue/regex_redirect-3508636:3508636 into 2.0.x
1 unresolved thread

Merge request reports

Members who can merge are allowed to add commits.

Merge request pipeline passed with warnings for eedc1662

Approval is optional
Code Quality is loading
Test summary results are being parsed
Ready to merge by members who can write to the target branch.
  • 1 commit will be added to 2.0.x.
  • Source branch will not be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
111 123 // Do the inbound processing so that for example language prefixes are
112 124 // removed.
113 125 $path = $this->pathProcessor->processInbound($request->getPathInfo(), $request);
126 $path_alias = $this->aliasManager->getAliasByPath($path);
114 127 $path = ltrim($path, '/');
128 $path_alias = ltrim($path_alias, '/');
115 129
116 130 $this->context->fromRequest($request);
131 $lang_id = $this->languageManager->getCurrentLanguage()->getId();
  • Looks good and works well here

  • Please register or sign in to reply
    Loading