sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Schaefer Sr." <schaef...@me.com>
Subject SlingClient is removing double / triple slashes from the URL
Date Fri, 23 Jun 2017 01:37:45 GMT
Hi

If I call a SlingClient this way:

slingClient.doGet(“/api/test/move.json//path///content/test//to///content/new-test”, 200)

Then what is called is:

“/api/test/move.json/path/content/test/to/content/new-test”

and hence the call fails.

Is there a way to fix that like sub-classing SlingClient and then override doStreamGet() ?

Thanks - Andy
Mime
View raw message