Problem/Motivation
- *.routing.yml files have
pathstart with a leading slash. - Link field URI values referencing internal paths are stored as
user-path:/...(i.e., the path portion starts with a leading slash). - In #2423913: Leading slash in link fields and views has different UX, we might change Views to store both paths in links and page display paths with a leading slash.
- So, should we change the {url_alias} table to also follow the leading slash pattern?
Comments
Comment #1
xjmComment #2
dawehnerI'm wondering whether we should change the API but simply drop off the "/" from the storage itself, though I guess this would be premature optimization.
Comment #3
dawehnerKinda a duplicate of #2509300: Path alias UI allows node/1 and /node/1 as system path then fatals
Comment #4
wim leersComment #5
dawehnerLet's mark it a duplicate now.