ome / omero-mapr

An OMERO.web app allowing to browse the data through attributes linked to the image
https://pypi.org/project/omero-mapr/
GNU Affero General Public License v3.0
5 stars 12 forks source link

Fix show when value has whitespace #51

Closed will-moore closed 5 years ago

will-moore commented 5 years ago

Fixes bug reported by @jrswedlow

To test try e.g. http://web-dev-merge.openmicroscopy.org/mapr/gene/?value=Kif2C%20(AB)&show=plate-4401 This should find the plate in the jsTree and select it.

manics commented 5 years ago

Does this bug only occur with spaces, or will it also occur with any escaped HTML character?

will-moore commented 5 years ago

I guess it could occur with any escaped URL character (not html character). I don't think MAPR terms contain many (any?) other characters, but I guess using decodeURI() would handle them all. I'll use that...