- session.exportDocumentView(pathInfo + "/" + OdkNames.H_HTML, resp.getOutputStream(), true, false);
+ String path = URLDecoder.decode(pathInfo, StandardCharsets.UTF_8);
+ session.exportDocumentView(path + "/" + OdkNames.H_HTML, resp.getOutputStream(), true, false);