Annotation: REST paths are not parsable

Bugs

Description

A REST path can not be found when its parameter annotation overlaps. First come, first it trying to serve but will fail.

I expected the following to happen

A annotation page.

On the contrary, I observed

HTTP/1.1 404 One of the following requested resources couldn't be found: 3r9ps, 3r7vw-207a

as the parser tries to find the document 3r7vw-207a. The delimiter is nor recognized.

How to reproduce the bug

Please describe briefly how you discovered the bug and what a developer has to do to reproduce it.

Steps:

  • curl https://ahikar-test.sub.uni-goettingen.de/api/textapi/ahikar/3r9ps/3r7vw-207a/annotationPage.json

Severity

How much impact does this bug have on the product or further development?

  • Minor
  • Major
  • Critical
  • Blocker

page will not work properly if not fixed.

Program and – if applicable – dependency version

@version 1.8.1

Related Tickets

/cc Michelle Weidling

Edited by Mathias Goebel
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information