swagger-aem
swagger-aem copied to clipboard
[Ruby] Space in group or file name of a package escaped to + instead of %20 causing "install" to fail
within https://github.com/shinesolutions/swagger-aem/blob/2366417699ed68b88efa534bb1bca25694cf9484/clients/ruby/generated/lib/swagger_aem/api/crx_api.rb#L277 CGI.escape is used to escape URL part when calling AEM api According to documentation CGI.escape should be used to escape request params not the path. Now because CGI.escape escapes space to + instead of %20 call to install package doesn't work for a package with space in group or name. replacing the usage of CGI.escape to: ERB::Util.url_encode(path.to_s) should suffice