You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Valentin Olteanu (Jira)" <ji...@apache.org> on 2019/12/16 10:45:00 UTC
[jira] [Created] (SLING-8921) requestPath must to be encoded in
SlingClient#doGet()
Valentin Olteanu created SLING-8921:
---------------------------------------
Summary: requestPath must to be encoded in SlingClient#doGet()
Key: SLING-8921
URL: https://issues.apache.org/jira/browse/SLING-8921
Project: Sling
Issue Type: Bug
Components: Apache Sling Testing Clients
Reporter: Valentin Olteanu
[SlingClient#doGet()|https://github.com/apache/sling-org-apache-sling-testing-clients/blob/609cb61fd2dec08657556b9adc91e889911a230e/src/main/java/org/apache/sling/testing/clients/AbstractSlingClient.java#L492] requires `requestPath` to be encoded (because it's passed to multiple URI constructors).
The contract should be uniform: all the parameters are passed decoded and the method takes care to encode them properly before creating the request.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)