Steps to reproduce:
1. Go to config form (admin/config/user-interface/easy-breadcrumb).
2. In Paths to replace with custom breadcrumbs text area enter
/node/1::NodeCrumb1|node/2::NodeCrumb2
path
3. Visit /node/1 page.
4. Drupal will throw following fatal error.
InvalidArgumentException: The user-entered string 'node/2' must begin with a '/', '?', or '#'. in Drupal\Core\Url::fromUserInput() (line 204 of /Applications/MAMP/htdocs/json_api/web/core/lib/Drupal/Core/Url.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3105627-2.patch | 839 bytes | hardik_patel_12 |
Comments
Comment #2
hardik_patel_12 commentedKindly review a new patch
Comment #3
hardik_patel_12 commentedComment #4
jernejbeg commentedTested if the issue exists. I can confirm that once I entered the replacement string and visite node/1 an error occurred.
I can confirm that the patch 3105627-2.patch works and displays the warning message.
Good job once again Hardik_Paterl_12!
Comment #5
neslee canil pintoYa i can also confirm on this +1
Comment #7
neslee canil pintoCommitted. Thanks.