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 17865,CachedStaticFilesStorage css rewriter should strip whitespaces from urls,Mikhail Korobov,nobody,"I have this rule in one of css files (note the extra whitespace in the url): {{{ .b-error-page { background: url(../img/bg-error-page.png ) center 0 no-repeat; } }}} Browsers handle this fine, collectstatic raises an exception if CachedStaticFilesStorage is used: {{{ ValueError: The file 'img/bg-error-page.png ' could not be found with . }}} I think css rewriter should just strip whitespaces in such cases. Not sure if this is relevant, but anyway: http://www.ietf.org/rfc/rfc3986 , Appendix C: ""For robustness, software that accepts user-typed URI should attempt to recognize and strip both delimiters and embedded whitespace.""",Bug,closed,contrib.staticfiles,1.4-beta-1,Normal,fixed,,,Accepted,0,0,0,0,0,0