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

here's the change and the test #259

Merged
merged 1 commit into from
Jan 25, 2013
Merged

here's the change and the test #259

merged 1 commit into from
Jan 25, 2013

Conversation

francoisp
Copy link
Contributor

And congrats about your wedding! (;-)
best
F

@brianc
Copy link
Owner

brianc commented Jan 25, 2013

apparently you already know all the tricks! This rocks - thanks. 😄

brianc added a commit that referenced this pull request Jan 25, 2013
here's the change and the test
@brianc brianc merged commit 0f925f6 into brianc:master Jan 25, 2013
@@ -16,6 +16,8 @@ var parse = function(str) {
if(str.charAt(0) === '/') {
return { host: str };
}
// url parse expects spaces encoded as %20
str = str.replace(' ', '%20');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would encodeURI() work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, thanks for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants