jfrog / teamcity-artifactory-plugin

TeamCity plugin that enables traceable build artifacts with Artifactory
https://www.jfrog.com/confluence/display/JFROG/TeamCity+Artifactory+Plug-in
Apache License 2.0
42 stars 48 forks source link

ArtifactoryBuildInfoClient.executeUpdateFileProperty fails when there is ampersand in property value #41

Open pavel-spacil opened 6 years ago

pavel-spacil commented 6 years ago

Hello, the client fails when function in subject called with ampersand in property value. It will not get escaped as it should and wrong value is set on Artifactory side. The issue is with encodeUrl method where URI.allowed_query contains also &. So in case of executeUpdateFileProperty different bit set has to be used for encoding properties variable.