Skip to content

v0.1.6: Three field-test bug fixes

Choose a tag to compare

@cyanheads cyanheads released this 24 May 12:23
v0.1.6
63d8c5f

Three field-test bug fixes

SPARQL label SERVICE injection now handles queries with trailing solution modifiers
(LIMIT, OFFSET, ORDER BY, etc.) — previous regex only matched when } was the last
character. Search entity descriptions now read from the correct REST v1 field
('description', not 'display-description'). Out-of-range entity IDs (HTTP 400) are
caught alongside 404 and mapped to entity_not_found.

Fixed:

  • SPARQL label SERVICE skipped when LIMIT follows closing brace (#6)
  • wikidata_search_entities description always empty — wrong field name (#7)
  • 400 for out-of-range IDs (e.g. Q9999999999) exposes internal URL instead of entity_not_found (#8)

55 tests pass; bun run devcheck clean.