I need to add dot (.)
in path parameter and it turns out that dot will only work if we append a /
slash at the end of that parameter.
For example: /api/path.param/?q=123
this will work
However: /api/path.param?q=123
wont work without the trailing slash
I was hoping to programmatically add the slash /
if the query parameter is q=123
.
How can this be done in MVC 4
?