What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

Trying to access a nonexistent URL on Stack Exchange Data Explorer causes a yellow screen of death. Example: http://odata.stackexchange.com/users/d

share|improve this question
    
ok, Im on to it :) thanks for the report –  waffles Jun 22 '10 at 3:52
    
status-completed :) –  waffles Jun 23 '10 at 8:02

1 Answer 1

up vote 2 down vote accepted

I cleaned up this and a bunch of other places where this was happening today.

Essentially I was being a bit to greedy with my route matching, I went through the routes and changed it so when we expect a number we will only match to a number.

So, for example we had a few routes like so:

[Route(@"{sitename}/qte/{savedQueryId}/{slug?}", RoutePriority.Low)]

Which I rewrote to:

[Route(@"{sitename}/qte/{savedQueryId:\d+}/{slug?}", RoutePriority.Low)]

Additionally I sprinkled a few PageNotFounds in some strategic places.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .