You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read-gate the projection list and canonicalize its casing
Two PR-review fixes to the RDF export resolution path:
* The unknown-projection 400 listed every Mapping page title from the raw DB
query, leaking the titles of read-restricted Mapping pages. ExportPageRdfApi
now filters the list by the caller's own read permission
(NeoWikiExtension::filterReadableProjectionNames), mirroring the Schema read
filter (DatabaseSchemaNameLookup). The system-context getRdfProjectionNames()
used by DumpRdf and the SPARQL store stays unfiltered.
* WikiPageMappingLookup::getMapping() now names the returned Mapping from the
resolved Title's text rather than the requested string, so ?projection=eDM and
?projection=EDM (the same Mapping:EDM page) mint the same projector, serializer,
and named-graph IRI.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments