• Luke Plant's avatar
    Updated FormPreview to use form_hmac rather than the old security_hash function · c922a046
    Luke Plant yazdı
    This ought to have been done in [14218], but although the FormPreview class
    was modified, and some tests were added, the crucial lines of code were not
    changed (the 'FormPreview.security_hash' method), and tests for the new
    behaviour were not added.  So it is being changed now.  Unlike some of the
    other code in that changeset, this does not need to have a compatibility
    fallback to cope with existing hashes, because the consequence of a failed
    hash is minimal - the user is re-presented with the preview stage of the
    form, which will then have a correct hash.
    
    git-svn-id: http://code.djangoproject.com/svn/django/trunk@15952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
    c922a046
Adı
Son kayıt (commit)
Son güncelleme
.tx Loading commit data...
django Loading commit data...
docs Loading commit data...
extras Loading commit data...
scripts Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
AUTHORS Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...