IE7 gains an extra slash when using the default constructor #67

Closed
sbrandwoo opened this Issue Feb 12, 2013 · 1 comment

2 participants

@sbrandwoo

If you head to http://medialize.github.com/URI.js/ and use the default constructor, you get:

>> new URI().href() 
"http://medialize.github.com/URI.js/"

If you run it in IE7 (or in this case, IE9 in IE7 mode), you get:

>> new URI().href() 
"http://medialize.github.com//URI.js/" 

Note the double slash after github.com.

@rodneyrehm
Medialize member

I'll look into it. in the meantime use URI(location.href + "").href() instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment