According to the toolkit docs of the param function, url parameters following the scheme key:value (e.g. /seminars/tag:categoryname) will be ignored by the router. Hence, the given url should resolve to /seminars and therefore invoke the seminars controller. Anyhow, this is not the case and this request always returns the error page. In the error page template param(‘tag’) does also not return anything.
Is there anything to configure I may have missed? Not posting any source code because I do not do anything different from the example give in the docs.
And if you add a tag to the URL like this: “example.com/test/tag:blue”, the result will be all the same.
So it would be helpful to know what you are trying to do and to have your router and controller codes and your folder setup. What is the purpose of your route?
You are correct I have never heard of that issue before. Just testet on a linux system and it works like expected. I’ll prepare a pr for the kirby docs to put in a note.
I tested this and it works as well - it’s not as nice as a colon, though.
@eXpl0it3r The tags cookbook article was updated quite I while ago, it uses url:paramsToString() instead of a colon. Where were you looking for that information?
Edit: I just updated the param helper docs as well.
The cookbook mentiones url::paramsToString(), but when I check how to use params, I might not read beyond “Controlling the filter by URL” or wouldn’t necessarily connect the mention of “compatible with both Linux and Windows servers” that I have to use semicolon on Windows.
Your changes just now, is what I would have expected. I’d suggest to add it to params and the “Controlling the filter by URL” section in the cookbook as well.