Trying to access a nonexistent URL on Stack Exchange Data Explorer causes a yellow screen of death. Example: http://odata.stackexchange.com/users/d
What is meta?
- Any Stack Exchange user can ask a question
- The community provides support, votes on ideas, and reports bugs
- Your voice helps shape the way Stack Exchange operates
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:
Which I rewrote to:
Additionally I sprinkled a few PageNotFounds in some strategic places.