You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andrei Dulvac (Jira)" <ji...@apache.org> on 2020/02/14 10:33:00 UTC

[jira] [Assigned] (SLING-8921) requestPath must to be encoded in SlingClient#doGet()

     [ https://issues.apache.org/jira/browse/SLING-8921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Dulvac reassigned SLING-8921:
------------------------------------

    Assignee: Andrei Dulvac

> 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
>            Assignee: Andrei Dulvac
>            Priority: Minor
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> [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)