vivo-project / VIVO

VIVO is an extensible semantic web application for research discovery and showcasing scholarly work
http://vivoweb.org
BSD 3-Clause "New" or "Revised" License
205 stars 129 forks source link

Parsing path variables while providing request body not working in cojunction #3898

Open ivanmrsulja opened 1 year ago

ivanmrsulja commented 1 year ago

Describe the bug When trying to provide a path variable in dynapi endpoint together with a request body, request body is not properly parsed.

To Reproduce Steps to reproduce the behavior:

  1. Download these .n3 files
  2. Try the update endpoint which requires both path variable and a request body.
  3. 500 internal server error should be returned and in logs you get this error

Expected behavior A request body should be parsed correctly, uri parsed from request body should be parsed without escaping double quotes (").