from django.conf.urls.defaults import patterns, url

urlpatterns = patterns('avatar.views',
    url('^add/$', 'add', name='avatar_add'),
    url('^change/$', 'change', name='avatar_change'),
    url('^delete/$', 'delete', name='avatar_delete'),
    url('^render_primary/(?P<user>[\+\w]+)/(?P<size>[\d]+)/$', 'render_primary', name='avatar_render_primary'),    
)

@@ -278,13 +278,23 @@
 r%3E%5B%5C
-+%5Cw%5D+
+w%5Cd%5C.%5C-_%5D%7B3,30%7D
 )/(?

Support for username with extra chars.