diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2015-08-04 12:00:58 +1000 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2015-11-05 15:54:11 -0600 |
commit | 82c181f0c70cc24d9e20f1bd0407db15a1d4e562 (patch) | |
tree | 1397135681bd84da1e300f4260c37ddef5432611 /mediagoblin/meddleware | |
parent | 68c963d6f5e51f3a874e0a22b1bfba2c63435165 (diff) | |
download | mediagoblin-82c181f0c70cc24d9e20f1bd0407db15a1d4e562.tar.lz mediagoblin-82c181f0c70cc24d9e20f1bd0407db15a1d4e562.tar.xz mediagoblin-82c181f0c70cc24d9e20f1bd0407db15a1d4e562.zip |
Remove <br/> from safe string indicating that CSRF cooking is missing.
Diffstat (limited to 'mediagoblin/meddleware')
-rw-r--r-- | mediagoblin/meddleware/csrf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/meddleware/csrf.py b/mediagoblin/meddleware/csrf.py index 6cad6fa7..c51e92a3 100644 --- a/mediagoblin/meddleware/csrf.py +++ b/mediagoblin/meddleware/csrf.py @@ -132,7 +132,7 @@ class CsrfMeddleware(BaseMeddleware): # cookie blocker might be in action (in the best case) _log.error('CSRF cookie not present') raise Forbidden(_('CSRF cookie not present. This is most likely ' - 'the result of a cookie blocker or somesuch.<br/>' + 'the result of a cookie blocker or somesuch. ' 'Make sure to permit the settings of cookies for ' 'this domain.')) |