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
202 stars 127 forks source link

Incorrect parsing of provided URI #3892

Closed ivanmrsulja closed 1 year ago

ivanmrsulja commented 1 year ago

Describe the bug When providing a parameter of type URI, incorrect parsing of said resource is evident.

To Reproduce Steps to reproduce the behavior:

  1. Import .n3 files from here
  2. Try to add a person resource with type attribute set to "https://vivo.lyrasis.org/wp-content/uploads/2022/10/vivo.owl#FacultyMember"
  3. Fetch resources through GetAll endpoint
  4. You will clearly see that newly added entity has type attribute set as "\"http://vivoweb.org/ontology/core#FacultyMember\""

Expected behavior The value should not contain escaped double quotation marks (\")