Skip to content

When paging through search Bundles, next URLs are not properly escaped / encodedΒ #1290

@lawley

Description

@lawley

searchByUrl in pipelines/batch/src/main/java/com/google/fhir/analytics/FhirSearchUtil.java fails to %-encode the query parameters in the url String parameter.

If a search result Bundle returns a next page URL, properly %-encoded because, for example, the link include " characters, this is %-decoded (presumably by the HAPI library?) but not subsequently %-encoded before being used in the client.search() invocation.

The result is that resources from such FHIR servers fail to be fetched and loaded.

Metadata

Metadata

Assignees

Labels

P1:mustAs issue that definitely needs to be implemented in near future.bugSomething isn't working

Type

No type

Projects

Status

πŸ”– Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions