Open kenzieschmoll opened 3 years ago
Perhaps related to this? (specifically the inner comment)
It's been a while, but IIRC when the URL contained something like xxxhttp://foo/bar
Flutter was pushing routes for http:
, xxxhttp:/
, xxxhttp://foo
, xxxhttp://foo.bar
. I don't know if that's still an issue, but if not the fix may be just removing the params.forEach
line.
I launched DevTools from VS Code and ended up at this URL:
If I understand correctly, the uri
variable here is only encoded once (this is after it's been through the redirect in the JS above), so I'm not sure if I'm hitting the issue (or whether it's being compensated for somewhere).
We encode the URI once in the plugin. From my current test it looks like the URI is not encoded when we first receive it.
Starting URL: http://127.0.0.1:55403/6hvCR98N-14=
Ending URL (after plugin encoding): http%3A%2F%2F127.0.0.1%3A55403%2F6hvCR98N-14%3D
Let me know if we should change this.
The vm service URI (value of the
uri
query param in the DevTools url) is currently double encoded.this could be happening on our end, or this could be happening from the IDEs (FYI @helin24, @DanTup) - I have yet to confirm either way.