﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28572	URLValidator rejects host without tld	Jani Tiainen	Denis.Tarykin	"Given valid URL http://myapp:8080/ does not validate as valid url. Happens on 1.8 and 1.11 at least. Note that at if I change localhost in myapp place, URL validates.

{{{
#!python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.test import TestCase
from django import forms

class TestForm(forms.Form):
    url = forms.URLField()

class UrlTestCase(TestCase):

    def test_form(self):
        form = TestForm({'url': 'http://myapp:8080/'})

        self.assertTrue(form.is_valid())
}}}"	Bug	closed	Core (Other)	1.11	Normal	duplicate			Unreviewed	0	0	0	0	0	0
