New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

Projects
None yet
2 participants
@sbrandwoo

sbrandwoo commented Feb 12, 2013

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

This comment has been minimized.

Show comment
Hide comment
@rodneyrehm

rodneyrehm Feb 12, 2013

Member

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

Member

rodneyrehm commented Feb 12, 2013

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