diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-09-17 20:00:51 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-09-17 20:00:55 -0700 |
commit | 6e1c91d5e66f8cd54fa22fc17a688f25839ca3ce (patch) | |
tree | c1f919efceb36b11372ee7efbb361b93795578a8 /python/fatcat_worker.py | |
parent | 257f5b55e6d35893dfdf8c5306842db5bb076f3e (diff) | |
download | fatcat-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_worker.py')
0 files changed, 0 insertions, 0 deletions