11

I need to encode a url that contains a dot character ".". It's a ASP.NET MVC routing, but 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!

André Miranda
  • 6,420
  • 20
  • 70
  • 94

2 Answers2

1

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

Community
  • 1
  • 1
0

"." message is it from Routing engine?

check out link Url Manipulation

swapneel
  • 3,061
  • 1
  • 25
  • 32