Skip to content

Conversation

@labkey-jeckels
Copy link
Contributor

Rationale

https://teamcity.labkey.org/buildConfiguration/bt310/3814947?buildTab=tests&status=failed&suite=org.labkey.test.Runner%3A+&package=org.labkey.test.tests.panoramapublic&class=PanoramaWebPublicSearchTest

We're generating invalid URLs with empty GET parameters. Example snippet:

&Targeted%20MS%20Experiment%20List.authors~containsoneof=Doe&=&dataRegionName=Targeted%20MS%20Experiment%20List

Tomcat 11 has gotten stricter about validating the URL structure.

Changes

  • Don't blindly append & when we may not need the separator

@labkey-adam
Copy link
Contributor

@labkey-jeckels shouldn't this use client-side helpers to build URLs to avoid these kinds of problems?

@labkey-jeckels
Copy link
Contributor Author

@labkey-jeckels shouldn't this use client-side helpers to build URLs to avoid these kinds of problems?

Yes, it should. However, the code I modified is using GET parameter-style values and appending them to the hash part of the URL by appending to window.location.href. ActionURL isn't built to do this. As much as I'd like to refactor a good chunk of this file, I didn't want to tackle it.

@labkey-jeckels labkey-jeckels merged commit 86140c4 into develop Jan 22, 2026
6 checks passed
@labkey-jeckels labkey-jeckels deleted the fb_panoramaPublicSearch branch January 22, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants