Re: SlingClient is removing double / triple slashes from the URL

2017-06-23 Thread Andrei Dulvac
Hi Andreas, Funny it's not covered by the unit test: https://github.com/apache/sling/blob/trunk/testing/http/clients/src/test/java/org/apache/sling/testing/AbstractSlingClientGetPathTest.java#L37 The magic happens here:

Re: SlingClient is removing double / triple slashes from the URL

2017-06-23 Thread Roy Teeuwen
Hey Andreas, I wouldn't go relying on double and triple slashes too much, I already have written a few classes that did at the beginning also to use it in suffixes, but I had to change it because it wasn't workable (in AEM for example the Link checker kept removing the slashes in the rendered