When looking up a route based on its path (pattern with slugs) we don't need to apply regex validation or other processing

Created on 20 October 2013, about 11 years ago
Updated 29 August 2023, over 1 year ago

Updated: Comment 0

Problem/Motivation

There are usecases in Drupal which require to get routes for an actual pattern like /block/{custom_block} not for a congrete path.
This works fine until you have a regular expression in the route requirements.

Proposed resolution

Regular expressions in the route requirements are a totally valid feature, though the route provider validates the regular expression.
Maybe we could just skip it.

Remaining tasks

User interface changes

API changes

Related Issues

#1964922: When building a route, store the regexp β†’

πŸ“Œ Task
Status

Closed: outdated

Version

9.5

Component
RoutingΒ  β†’

Last updated 3 days ago

Created by

πŸ‡©πŸ‡ͺGermany dawehner

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Since there hasn't been followup or response to #57 going to close out for now.

    If still a valid task please reopen updating issue summary.

    Thanks all!

Production build 0.71.5 2024