Description:
When publishing a build to Artifactory, if the build name contains special characters, they are not encoded in the artifactory url and failing to open from Jenkins UI. If we directly log into Artifactory and open the builds, we are able to open them and the url encoding is happening correctly.
Steps to reproduce the behavior:
Publish any build to artifactory from Jenkins where the build name has special characters.
And open the Artifactory Icon from Jenkins UI, it fails to open and gives a 404.
Expected behavior:
We should be able to open Artifactory link without any issues where the proper encoding happens.
Example build name : ccc-example-build/promote

From Jenikns the url : http://localhost:8082/ui/builds/ccc-example-build/promote/8/1638710194716/published where the encoding for the special character is not happening and resulting in 404.

From Artifactory the url : http://localhost:8082/ui/builds/ccc-example-build%2Fpromote/8/1638710194716/published where the encoding is happening and we can open the build.

Versions
Artifactory plugin version > 3.13.2
Jennies > 2.303.2
Artifactory version > 7.24.3
Description:
When publishing a build to Artifactory, if the build name contains special characters, they are not encoded in the artifactory url and failing to open from Jenkins UI. If we directly log into Artifactory and open the builds, we are able to open them and the url encoding is happening correctly.
Steps to reproduce the behavior:
Publish any build to artifactory from Jenkins where the build name has special characters.
And open the Artifactory Icon from Jenkins UI, it fails to open and gives a 404.
Expected behavior:
We should be able to open Artifactory link without any issues where the proper encoding happens.
Example build name : ccc-example-build/promote

From Jenikns the url : http://localhost:8082/ui/builds/ccc-example-build/promote/8/1638710194716/published where the encoding for the special character is not happening and resulting in 404.

From Artifactory the url : http://localhost:8082/ui/builds/ccc-example-build%2Fpromote/8/1638710194716/published where the encoding is happening and we can open the build.

Versions
Artifactory plugin version > 3.13.2
Jennies > 2.303.2
Artifactory version > 7.24.3