﻿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
21242	Allow more IANA schemes in URLValidator	Sascha Peilicke	Sascha Peilicke	"Currently, URLValidator only allows the following schemes: http(s) and ftp(s). Since the formal definition of URL (being a subset of URI) includes many more valid schemes [1], URLValidator should be expanded to allow those. Of course Django users could create their own validator but this seems to be a rather common task it's probably better to have that in core Django.

An alternative solution would be to provide an URIValidator which allows more schemes than what we currently have in URLValidator. However, since sth. like ssh://example.com is not only a valid URI but also a valid URL [2] it doesn't seem to make sense to differentiate URI and URL.

Related to that, #15229 already added support for ftp(s)


[1] https://en.wikipedia.org/wiki/URI_scheme#Official_IANA-registered_schemes
[2] https://tools.ietf.org/html/rfc3986"	New feature	closed	Core (Other)	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
