MicrosoftDX / Vorlonjs

A new, open source, extensible, platform-agnostic tool for remotely debugging and testing your JavaScript. Powered by node.js and socket.io
http://www.vorlonjs.com
Other
2.92k stars 259 forks source link

Proxy page redirects to invalid page for SPAs #452

Open gunnim opened 4 years ago

gunnim commented 4 years ago

vorlon@0.5.5 SSL disabled

When using /httpproxy to f.x. open the url https://www.dominos.is to debug you are redirected to urls similar to the following https://192.168.15.105:1337/vorlonproxy/root.html?vorlonproxytarget=https%3A%2F%2Fwww.dominos.is&vorlonsessionid=dominosis

In this case the target site is an SPA and seems to be receiving a GET request for /vorlonproxy/root. The site returns a 404 but the request can be fixed by accessing https://192.168.15.105:1337/?vorlonproxytarget=https%3A%2F%2Fwww.dominos.is&vorlonsessionid=dominosis instead

I also found no way to access any non-root paths for SPA apps. so navigation above the root url was impossible, even when supplying the path on initial load and modifying it.