1

I have a asp.net mvc 3 application and I want the users to be able to enter in tags of sorts. However, when a tag ends with a "." (no quotes) it throws a 404 before hitting the controller's method.

Any ideas...? Is this common or something jacked up with my configuration?

zgirod
  • 4,189
  • 3
  • 28
  • 36

2 Answers2

0

I think IIS is throwing the 404 before control gets to your application. I suspect it's matching the ExpressionlessURLHandler for the path *..

If you are brave, I suppose you could change the handler for that path to be asp, but I suspect there are some security implications to allowing that path through to asp.

Perhaps use a different character?

Steve Mallory
  • 4,245
  • 1
  • 28
  • 31
0

This question was already asked and answered. It is a silly MS thing.

Semantic urls with dots in .net

Community
  • 1
  • 1
zgirod
  • 4,189
  • 3
  • 28
  • 36