Revision 8ae38ff8 snf-webproject/synnefo/webproject/settings/default/deploy.py

b/snf-webproject/synnefo/webproject/settings/default/deploy.py
17 17
# sets this header is in use.
18 18
USE_X_FORWARDED_HOST = True
19 19

  
20
# Settings / cookies that should be 'cleansed'
21
HIDDEN_SETTINGS = 'SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE|AMQP_HOSTS|PRIVATE_KEY|DB_CONNECTION'
22
HIDDEN_COOKIES  = 'password|_pithos2_a|token|sessionid|shibstate|shibsession|CSRF_COOKIE'
23

  
20
# Settings / Cookies / Headers that should be 'cleansed'
21
HIDDEN_SETTINGS = 'SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE|AMQP_HOSTS|'\
22
                  'PRIVATE_KEY|DB_CONNECTION|TOKEN'
23
HIDDEN_COOKIES = ['password', '_pithos2_a', 'token', 'sessionid', 'shibstate',
24
                  'shibsession', 'CSRF_COOKIE']
25
HIDDEN_HEADERS = ['HTTP_X_AUTH_TOKEN', 'HTTP_COOKIE']
26
# Mail size limit for unhandled exception
27
MAIL_MAX_LEN = 100 * 1024 # (100KB)
24 28

  
25 29
#When set to True, if the request URL does not match any of the patterns in the
26 30
#URLconf and it doesn't end in a slash, an HTTP redirect is issued to the same

Also available in: Unified diff