Hi,

I'm working on an artifactory ruby client. One thing I came across is that
it seems that "Hello, world!" can't be used as a value of property of an
artifact. 

For example, a http put with this url:
http://server:port/api/storage/mirrors-local/com/test/1.0/test-1.0.jar?properties=test_prop=Hello%2C%20World!

will end up as the value like:
Hello;  World!

Noticed the "," is url encoded as %2C in above request. And the value of the
property - "test_prop" is set as an array of values, json segment below :
 ... "properties": {
        "test_prop": [
            "Hello",
            " World!"
        ]
    } ....

I couldn't find any escape instructions. Any one knows how?

Thanks,

Paul
 



--
View this message in context: 
http://forums.jfrog.org/How-to-set-Hello-World-as-a-artifact-property-value-with-Rest-API-tp7578239.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to