Skip to content

Conversation

@jparise
Copy link
Collaborator

@jparise jparise commented Mar 27, 2014

Previously, if we started with a URL like http://./, the code in
norm_netloc() would start with a host string of '.', strip the dot,
and then run into an IndexError when it attempted to look for IPv6
brackets.

Previously, if we started with a URL like `http://./`, the code in
norm_netloc() would start with a host string of '.', strip the dot,
and then run into an IndexError when it attempted to look for IPv6
brackets.
@jparise
Copy link
Collaborator Author

jparise commented Mar 27, 2014

How does this look to you, @scohen? It's a rebased version of jehiah#12.

@scohen
Copy link

scohen commented Mar 27, 2014

It looks just swell, @jparise.

scohen added a commit that referenced this pull request Mar 27, 2014
Make sure we have a valid host in norm_netloc().
@scohen scohen merged commit 11bd276 into pinterest:master Mar 27, 2014
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.

2 participants