env-js
env-js copied to clipboard
fix disappear port in window.location =
The Ruby URI class used for parsing uri's in removing explicit ports in urls if it roundtrips. There's no evidence that HTML5 expects this to happen. It seems to in FF but not in Safari.
Probably should ditch the Ruby class and write one in JS to be shared between Johnson and Rhino.