#17861: Static files cache_key should handle spaces in filenames
-------------------------------------+-------------------------------------
     Reporter:  milosu               |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  new
    Component:  contrib.staticfiles  |                  Version:
     Severity:  Release blocker      |  1.4-beta-1
     Keywords:                       |               Resolution:
    Has patch:  0                    |             Triage Stage:  Accepted
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by guettli):

 * needs_docs:   => 0
 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


Comment:

 I tried to reproduce it, but I only get a warning.

 {{{
 mkdir django/contrib/admin/static/admin/filebrowser/uploadify/
 export DJANGO_SETTINGS_MODULE=test_sqlite
 vi 'django/contrib/admin/static/admin/filebrowser/uploadify/Uploadify
 v2.1.0 Manual.txt' # enter some text (empty file with "touch" is not
 enough)
 ./tests/runtests.py staticfiles_tests
 Creating test database for alias 'default'...
 Creating test database for alias 'other'...
 ........../home/modwork_eins_d/_django-
 1_4_x/django/core/cache/backends/base.py:202: CacheKeyWarning: Cache key
 contains characters that will cause errors if used with memcached:
 ':1:staticfiles:cache:admin/filebrowser/uploadify/Uploadify v2.1.0
 Manual.txt'
   CacheKeyWarning)
 .............................................................
 ----------------------------------------------------------------------
 Ran 71 tests in 3.417s

 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17861#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to