molgenis / molgenis-frontend

Frontend code for MOLGENIS
GNU Lesser General Public License v3.0
6 stars 12 forks source link

searchall links to data explorer broken #588

Closed fdlk closed 3 years ago

fdlk commented 3 years ago

How to Reproduce

In the searchall plugin, click a link of a row that was found

Expected behavior

data explorer is opened

Observed behavior

Invalid character found in the request target [/menu/main/dataexplorer?entity=fair-genomes_clinical_medication&query[q][0][operator]=SEARCH&query[q][0][value]=blood]. The valid characters are defined in RFC 7230 and RFC 3986

fdlk commented 3 years ago

This works when an apache httpd is proxying the molgenis, but not when nginx is in front. Because httpd corrects the query

fdlk commented 3 years ago

https://github.com/molgenis/molgenis-frontend/blob/d514c4390f2bbeea205824c9211dbecc82055776/packages/searchall/src/components/EntityResult.vue#L22