﻿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
24336	static server should skip for protocol-relative STATIC_URL	Vlada Macek	farrepa	"As per http://stackoverflow.com/questions/550038/is-it-valid-to-replace-http-with-in-a-script-src-http and the spread of http/https websites it appears to be legitimate to have STATIC_URL and MEDIA_URL starting with `//` leading to a different domain under my control, but keeping the protocol. Hence this check

{{{
    # No-op if not in debug mode or an non-local prefix
    if not settings.DEBUG or (prefix and '://' in prefix):
        return []
}}}

in `django.conf.urls.static.static` will not match and does not turn off the static server as it should.

I guess `://` should at least be changed to `//`.
"	Cleanup/optimization	closed	Core (Other)	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
