Loading
PLAT-3200: pass the citation metadata query's work_uri as a parameter
This MR makes DoiMetadata.get_citation_metadata (src/models/citation.py) pass work_uri and the measure URI as web.py query parameters instead of formatting them into its SQL (PLAT-3200). The work_uri comes from GET /citations?work_uri=, so nobody' OR ''=' used to return every work's citation metadata and a $ made web.py raise; TestCitationMetadataQuery checks both against the fixtures.
- Results already cached under an injected
work_uristay for up to 24 hours after deploy; delete thosedoi_metadata/*keys to clear them sooner.