[RTFACT-14948] Conan cant process environment variables values containing equal character Created: 14/Sep/17  Updated: 31/Oct/17  Resolved: 16/Oct/17

Status: Resolved
Project: Artifactory Binary Repository
Component/s: Conan
Affects Version/s: 4.15.0
Fix Version/s: 5.6.0

Type: Bug Priority: Normal
Reporter: Nadav Yogev Assignee: Nadav Yogev
Resolution: Fixed Votes: 0
Labels: None

Assigned QA: Gilad Kalchheim (Inactive)


Uploading a conan binary package that contains declared environment variables containing "=" in the value caused an error parsing the conaninfo.txt file.
How to reproduce

conan new lib/1.0@user/stable
conan export user/stable
conan install lib/1.0@user/stable -e MYFLAG="one==tricky==value" --build missing
conan upload lib/1.0@user/stable --all -r ARTIFACTORY_INSTANCE

The upload will be ok, BUT in the artifactory logs will be an error:
Exception: org.jfrog.repomd.conan.ConanInfoException: Invalid conaninfo.txt format: MYFLAG=one=tricky=value

Generated at Wed Aug 21 03:25:05 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.