mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -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
|
@Override
|
||||||
protected void service(HttpServletRequest req, HttpServletResponse resp) throws IOException {
|
protected void service(HttpServletRequest req, HttpServletResponse resp) throws IOException {
|
||||||
String path = req.getPathInfo();
|
String path = req.getRequestURI();
|
||||||
if (path != null) {
|
if (path != null) {
|
||||||
log.debug("Serving " + path);
|
log.debug("Serving " + path);
|
||||||
if (!path.startsWith("/")) {
|
if (!path.startsWith("/")) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user