In my custom theme, I want to pass a parameter value containing a “Slash”
The parameter value is: Lab/abc and the route is “http:/mysite.com/tags/tag:Lab/abc”.
The trouble is that the “/” between “Lab” & “abc” is considered as a new route. So it tries to reach a non existing route.
So I’ve tried to escape the “” with the “url_encode” function, and it gives me another adress "“http:/mysite.com/tags/tag:Lab%2Fabc” but I’m still reaching a non existing route.
My question is : Is grav support “/” in parameter value ? or is it an advanced settings in Grav?
unfortunatly the workaround does not work. “key=value” parameter format drives me to an unkwnown route, even with a regular parameter (no slash in it). Did I miss something?
Just for future reference, the docs about the URI object distinguishes between ‘URL parameter’ and ‘URL query’. The first being what I call Grav style key:value' or actually '/key:value and the second the standard way: ?key=value.