Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix repetition of fields in download URLs
Fixes #3626 Update `generateDownloadUrl` method to prevent duplicate fields in download URL. * **Prevent duplicate fields** - Use `params.set` instead of `params.append` for `versionStatus` and `isRevocation` fields. - Add checks to ensure `versionStatus` and `isRevocation` fields are not already set before setting them. * **General improvements** - Replace `params.append` with `params.set` for all fields in `downloadParameters.toUrlSearchParams()`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/loculus-project/loculus/issues/3626?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information