Route context doesn't support params that start with ":"
--------------------------------------------------------
Key: ABDERA-161
URL: https://issues.apache.org/jira/browse/ABDERA-161
Project: Abdera
Issue Type: Bug
Affects Versions: 0.4.0
Reporter: David Calavera
Fix For: 0.5.0
Attachments: route.patch
if you add a param key that starts with ":" the method Route.expans doesn't
recognize it as an uri param and adds it as query param. For example:
Route route = new Route("feed", "/feed/:id");
Map ctx = new HashMap();
ctx.put(":id", "1");
String url = routeManager.urlFor(request, "feed", ctx);
the variable url is equal to "/feed/?id=1" instead of "/feed/1"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.