Hi guys, I would suggest that PathPrefixMethod should match exactly the modifier since it is possible to have multiple modifiers using the same route. i.e my-office is found within my-office-2 so the generated links will be built as http://localhost/my-office/my-office-2/node/1

Here is the patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mpastas created an issue. See original summary.

mpastas’s picture

mpastas’s picture

Title: Path prefix should match exactly to avoid duplicates. » Path prefix should match exactly to avoid modifier duplicates.
mpastas’s picture

mpastas’s picture

Fix of contains method.