Verifies the integrety of the projects, as builds are executed immediately after a code change was detected. This plan provides no artifiacts (use a nightly build instead).
Build: #2534 failed Changes by arwen <changwenwen@126.com>
Code commits
Openfire (master)
-
arwen <changwenwen@126.com> b22a7dfeb66f6908a7f8596511b5e94a0995e3c3
OF-2763 fix: View plugin pages or resource reports http status code 403
Refer OF-2647, since code change from:
File file = new File(pluginDirectory, parts[1] + File.separator + "web" + contextPath);
to:
Path file = pluginDirectory.resolve(parts[1]).resolve("web").resolve(contextPath);,
if contextPath start with '/', the variable file will change to contextPath, it is not correct.
If System property "plugins.servlet.allowLocalFileReading" not setting, will get http status code 403, restAPI document page cannot open[/plugins/restapi/docs/index.html], and monitoring resource /plugins/monitoring/images/icon_clock-1hour.gif cannot download.- xmppserver/src/main/java/org/jivesoftware/openfire/container/PluginServlet.java (version b22a7dfeb66f6908a7f8596511b5e94a0995e3c3)