Skip to content

Encode URL of RemoteArtifact when transmitting them to the Microcks API #250

@lbroudoux

Description

@lbroudoux

Reason/Context

We discovered in #246 that if your remote artifact URL contains encoded chars (like %2F% instead of / that is required in the GitLab urls), the encoding/decoding phase of API calling flattens these chars and transform the final URL - that leads to a download error on the Microcks side.

Description

We must encode the remote artifact URL before transmitting to the Microcks API.

In the meantime, and as a workaround, you can encode URL yourself when building the RemoteArtifact.

Use something like: RemoteArtifact.of(URLEncoder.encore(url, StandardCharsets.UTF_8), "my-secret"))

Implementation ideas

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions