Skip to content
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
Closed

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

sbrandwoo opened this issue Feb 12, 2013 · 1 comment
Labels

Comments

@sbrandwoo
Copy link

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
Copy link
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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants