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

URL with more than 10 slashes is not working in new routing system

$
0
0

Problem/Motivation

As per current routing system if we add any URL with more than 10 slash ('/'), it throws page not found.

Steps to reproduce:

1. Create a path in your module_name.routing.yml with more than 10 slashes. for example:

foo_bar:
  pattern: 'a/b/c/d/e/f/g/h/i/j/k/l'
  defaults:
    _controller: '\Drupal\[module_name]\Controller\FooController::barPage'
  requirements:
    _access: 'TRUE'

2. Visit the page (i.e. a/b/c/d/e/f/g/h/i/j/k/l), throws 'page not found'

3. Remove few parts of the path and clear cache and try to visit the page (e.g. a/b/c/d/e/f/g/h/i), works fine.

Proposed resolution

Not sure, need to find whether is it some restriction and might need to remove (?)

#2028137: Integrate field configuration translation on the user interface


Viewing all articles
Browse latest Browse all 291167

Trending Articles



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