mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Dev server: fix bug when proxying URLs with characters not allowed in URLs
This commit is contained in:
parent
bd00575219
commit
2095e52dc2
|
@ -292,7 +292,7 @@ public class CodeServlet extends HttpServlet {
|
|||
|
||||
@Override
|
||||
protected void service(HttpServletRequest req, HttpServletResponse resp) throws IOException {
|
||||
String path = req.getPathInfo();
|
||||
String path = req.getRequestURI();
|
||||
if (path != null) {
|
||||
log.debug("Serving " + path);
|
||||
if (!path.startsWith("/")) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user