summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/cors.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-11-19 17:09:54 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-11-19 17:09:56 -0800
commit6844071983fb1c9cfc0717247e933e23dead51ca (patch)
treed3b9d6d08ce219ab62e6f6c54b1613de6d2bb871 /python/fatcat_web/cors.py
parente935725539c1b66d8e8cb917d37aed959921418e (diff)
downloadfatcat-6844071983fb1c9cfc0717247e933e23dead51ca.tar.gz
fatcat-6844071983fb1c9cfc0717247e933e23dead51ca.zip
clean DOI: ban all non-ASCII characters
I believe this is safe and matches the regex filter in rust (fatcatd). Keep hitting one-off DOIs that were passing through python check, so being more strict from here forward.
Diffstat (limited to 'python/fatcat_web/cors.py')
0 files changed, 0 insertions, 0 deletions