desaintmartin/noVNC — comment on commit acde6784211c33d0ada9905f999ea604525e9600
File:  line 0
By kanaka:

I'm a bit ambivalent about this change. I'm not sure how well the window location maps to the WebSocket path. For one thing, the file name and query portion of the URI are technically part of the window location path and are valid in the WebSocket path. So it's not clear to me that those parts should be stripped off first.

Can you describe the specific use case you are trying to solve in a bit more detail?