OMERO.iviewer ... a strage URL change when clicked on a thumbnail

Hi,

We have installed a new version of OMERO iviewer (v.0.8.0) to our CHAMBER server, and are enjoying lots of new features, some of which we requested.

We noticed that when we access an image by URL specification, eg http://chamber.mrc.ox.ac.uk/iviewer/?images=129, clicking a thumbnail on the left will change the URL eg.http://chamber.mrc.ox.ac.uk/iviewer/?images=116&dataset=51&haveMadeCrossOriginLogin_. Whereas the addition of ?images=116&dataset=51 are understandable, I wonder what is the use of &haveMadeCrossOriginLogin_ is for. But maybe it serves for a purpose.

Then, we figured out that now the OMERO accepts URL specifying multiple images, eg. http://chamber.mrc.ox.ac.uk/iviewer/?images=116,117. This is really cool!

When we click a thumbnail, then the URL has the suffix &haveMadeCrossOriginLogin_, eg.
http://chamber.mrc.ox.ac.uk/iviewer/?images=116,117&haveMadeCrossOriginLogin_.

If we do that again, the suffix is added again and you get
http://chamber.mrc.ox.ac.uk/iviewer/?images=116,117&haveMadeCrossOriginLogin_&haveMadeCrossOriginLogin_

This goes on forever and you can get something absurd like

http://chamber.mrc.ox.ac.uk/iviewer/?images=116,117&haveMadeCrossOriginLogin_&haveMadeCrossOriginLogin_&haveMadeCrossOriginLogin_&haveMadeCrossOriginLogin_&haveMadeCrossOriginLogin_

Iā€™m sure this is not what it was meant to be.

Best,
Kouichi

Thanks for reporting that bug. I created an issue at https://github.com/ome/omero-iviewer/issues/283

Will

1 Like