MetaCell / asu-olfactory

MIT License
0 stars 0 forks source link

Fixing Deployment Issues , Improvements #53

Closed jrmartin closed 1 year ago

jrmartin commented 1 year ago
enicolasgomez commented 1 year ago

@jrmartin we need to add XSS filtering to anything that get's feed and concatenated into SQL

https://stackoverflow.com/questions/901369/python-library-for-xss-filtering

jrmartin commented 1 year ago

@rgerkin @enicolasgomez The requests made during the last call have been deployed.

We can now use a query parameter to only get the exact match results: Examples: https://pubchem.olfactory.dev.metacell.us/molecules/mesh/chlorin?exactMatch=True https://pubchem.olfactory.dev.metacell.us/molecules/mesh/chlorin/properties/synonym_filtered,title,iupac?exactMatch=True

By default, not using the query parameter will return all results regardless of exact match. E.g. https://pubchem.olfactory.dev.metacell.us/molecules/mesh/chlorin https://pubchem.olfactory.dev.metacell.us/molecules/mesh/chlorin?exactMatch=False

A more detailed documentation can be found on the main page ReadMe