You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
ub1k24
changed the title
Space in group or file name of a package escaped to + instead of %20 causing "install" to fail
[Ruby] Space in group or file name of a package escaped to + instead of %20 causing "install" to fail
Feb 15, 2021
within
swagger-aem/clients/ruby/generated/lib/swagger_aem/api/crx_api.rb
Line 277 in 2366417
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
The text was updated successfully, but these errors were encountered: