aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/search.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-09-17 20:00:51 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-09-17 20:00:55 -0700
commit6e1c91d5e66f8cd54fa22fc17a688f25839ca3ce (patch)
treec1f919efceb36b11372ee7efbb361b93795578a8 /python/fatcat_web/search.py
parent257f5b55e6d35893dfdf8c5306842db5bb076f3e (diff)
downloadfatcat-6e1c91d5e66f8cd54fa22fc17a688f25839ca3ce.tar.gz
fatcat-6e1c91d5e66f8cd54fa22fc17a688f25839ca3ce.zip
web: route constraints on fcids and UUIDs
Instead of accepting any string for these parameters and throwing a 400 error if not the correct type, implement better route matching at the framework level and return more 404s. This resolves several outstanding sentry exceptions. The "flask-uuid" was imported and seems to have been configured for this purpose previously, but I guess I never finished configuring it.
Diffstat (limited to 'python/fatcat_web/search.py')
0 files changed, 0 insertions, 0 deletions