~ubuntu-branches/ubuntu/precise/python-django/precise

« back to all changes in this revision

Viewing changes to .pc/08_security_pasword_reset_dos.diff/django/contrib/auth/urls.py

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2011-02-17 13:34:07 UTC
  • mfrom: (1.1.13 upstream) (4.4.12 sid)
  • Revision ID: james.westby@ubuntu.com-20110217133407-rwr88elhhq6j7ba0
Tags: 1.2.5-1ubuntu1
* Merge from Debian for security fixes (LP: #719031). Remaining changes:
  - debian/control: don't Build-Depends on locales-all, which doesn't exist
    in natty
* Drop the following patches, now included upstream:
  - debian/patches/07_security_admin_infoleak.diff
  - debian/patches/08_security_pasword_reset_dos.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# These URLs are normally mapped to /admin/urls.py. This URLs file is 
2
 
# provided as a convenience to those who want to deploy these URLs elsewhere.
3
 
# This file is also used to provide a reliable view deployment for test purposes.
4
 
 
5
 
from django.conf.urls.defaults import *
6
 
 
7
 
urlpatterns = patterns('',
8
 
    (r'^login/$', 'django.contrib.auth.views.login'),
9
 
    (r'^logout/$', 'django.contrib.auth.views.logout'),
10
 
    (r'^password_change/$', 'django.contrib.auth.views.password_change'),
11
 
    (r'^password_change/done/$', 'django.contrib.auth.views.password_change_done'),
12
 
    (r'^password_reset/$', 'django.contrib.auth.views.password_reset'),
13
 
    (r'^password_reset/done/$', 'django.contrib.auth.views.password_reset_done'),
14
 
    (r'^reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$', 'django.contrib.auth.views.password_reset_confirm'),
15
 
    (r'^reset/done/$', 'django.contrib.auth.views.password_reset_complete'),
16
 
)
17