views:

14

answers:

0

Hi guys,

I am facing a problem that one of my fields need to be shown in the url contains special character (/, \, :).

The stupid way to handle this generate action links by using UrlEncode(). Then UrlDecode is used before consuming in controller. But I think it really stupid because too many places need to be adapted.

So, my problem is there any way to extend the url route or just write my own one to achieve it?

Thanks, Mike