Hello,
I am able to create the package , but unable to add filters to it when the group name has " " between them. Example is given as below.
curl -u admin:admin -X POST http://HOST_NAME:PORT_NO/crx/packmgr/update.jsp \-F path=/etc/packages/my_packages/testpackage.zip -F packageName=testpackage \-F groupName=my_packages \-F filter="[{\"root\" : \"/content/we-retail\", \"rules\": [{\"modifier\" : \"exclude\", \"pattern\" : \"/content/we-retail/(.*)/folder-to-exclude(/.*)?\"}]}]" \-F '_charset_=UTF-8' -- Working
curl -u admin:admin -X POST http://HOST_NAME:PORT_NO/crx/packmgr/update.jsp \-F path=/etc/packages/my packages/testpackage.zip -F packageName=testpackage \-F groupName=my packages \-F filter="[{\"root\" : \"/content/we-retail\", \"rules\": [{\"modifier\" : \"exclude\", \"pattern\" : \"/content/we-retail/(.*)/folder-to-exclude(/.*)?\"}]}]" \-F '_charset_=UTF-8' -- Not working
Creation of package using curl works " " is replaced by %20. But the same option doesn't work when I try to add filters to the package that is created. Any insight to this will be helpful.