xwiki/xwiki-platform — pull request #50 by jamiemaher (2012-06-05 23:16:03+00:00)
Title: Fix for XWIKI-7874 - xwiki-platform-rest-server for xwiki-platform-3.5

To fix http://jira.xwiki.org/browse/XWIKI-7874

I modified org/xwiki/rest/DomainObjectFactory.java to URI encode the path elements before calling UriBuilder.build(), and change to UriBuilder.buildFromEncoded() to prevent double encoding.

This commit works locally for my XWiki 3.5 install, and it correctly allows the file listing now for files like "file[name].txt". See http://jira.xwiki.org/browse/XWIKI-7874 for more details.