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

Fixes TypeError for domain() when domain reads as blank. #27

Merged
merged 1 commit into from
May 19, 2012
Merged

Fixes TypeError for domain() when domain reads as blank. #27

merged 1 commit into from
May 19, 2012

Conversation

mutewinter
Copy link
Contributor

When calling url.domain() or url.subdomain() on a URI of the form http://test/, a TypeError results. This patch fixes that error.

rodneyrehm added a commit that referenced this pull request May 19, 2012
Fixing TypeError for domain() on dot-less hostnames
@rodneyrehm rodneyrehm merged commit 5e3817d into medialize:gh-pages May 19, 2012
@rodneyrehm
Copy link
Member

good catch! I added some tests and released version 1.6.1 :)

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

2 participants