Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291711

Routing system cannot handle /foo/bar and /foo/{baz}

$
0
0

If you create two routes of which the paths are identical, except that the last fragment of one route is a fixed string, and of the other route it is a slug, one of them always takes precedence.

/foo/bar
/foo/{baz}

The route with the slug always takes precedence. The attached patch, made by dawehner, demonstrates the failure.
AttachmentSizeStatusTest resultOperations
drupal_sad_slug.patch1 KBIdleFAILED: [[SimpleTest]]: [MySQL] Setup environment: Test cancelled by admin prior to completion.View details | Re-test

Viewing all articles
Browse latest Browse all 291711

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>