Index: lib/Catalyst/Manual/Cookbook.pod =================================================================== --- lib/Catalyst/Manual/Cookbook.pod (revision 9096) +++ lib/Catalyst/Manual/Cookbook.pod (working copy) @@ -67,6 +67,18 @@ modifying your application scripts. Just set C or CMYAPPE_DEBUG> to a true value. +=head3 Removing sensitive query parameter data from debug output + +If debug status is on in the environment, you will get a nice dump of +the query parameters on each request. But sometimes it's not good to show +all the parameter values - for example, you might want to hide passwords. +You can configure your application to redact certain query parameters: + + MyApp->config->{Debug}->{redact_parameters} = [ 'password' ]; + +The parameter names will still appear in the query parameter dump, but +the value will be replaced with '(redacted by config)'. + =head2 Sessions When you have your users identified, you will want to somehow remember