blueintegral / WaitOrWalk

The information you really want when waiting at the bus stop: is it quicker to wait or to walk? Only works for Georgia Tech right now.
9 stars 3 forks source link

Sanitize input for shouldWait #16

Closed blueintegral closed 11 years ago

blueintegral commented 11 years ago

shouldWait() can be passed junk right now through the browser. Server.py should check to make sure it's only being passed esaped ascii names of valid stops. It should also return a 404 when any other location is accessed (like waitorwalk.com/blah).

blueintegral commented 11 years ago

Fixed in commit by Ubuntu (which is me, blueintegral, from a box I forgot to change the git username on) on 3/31/13. (Commit 2942e13fbd0299092f0eb35f3bf86a4b01a2d1d1)