开发者

Encode URL with dot

开发者 https://www.devze.com 2023-02-13 06:40 出处:网络
I need to encode a url that contains a dot character \".\". It\'s a ASP.NET MVC routing, bu开发者_Python百科t the url contains a \".\". Is there a way?

I need to encode a url that contains a dot character ".". It's a ASP.NET MVC routing, bu开发者_Python百科t the url contains a ".". Is there a way?

For example, I'm trying to get this url: "/Products/Beverages/Drink.Best/Teste"

There's a "." in that... And I need to encode that... is it possible?

Thanks!


You can test your encoding output with the URLEncoder at FooBabel - URLCodec


"." message is it from Routing engine?

check out link Url Manipulation

0

精彩评论

暂无评论...
验证码 换一张
取 消