aik099/PhpStormProtocol

Problem with running this on windows

Opened this issue · 2 comments

I can't get this running on windows:(

It's working from the console , but when i call it from the browser, the filename is wrong
bug

It looks like some kind of escaping problem. In the browser you have escaped url (e.g. through rawurlencode function). But in console you're giving correct url (without escaping). I guess giving escaped url in console will also fail.

Try using rawurldecode function (e.g. this one http://phpjs.org/functions/rawurldecode/) in the run_editor.js file on the received url before passing it to regexp.

If that will work, then don't forget to send a PR with a fix.

It appears that PR #1 author also found similar escaping problem in Mac version of the app.