Robert Buels | 1 Nov 2010 16:59
Picon
Favicon
Gravatar

Re: use CGI::Carp qw(fatalsToBrowser);

Hi Dan,

Well, the reason this isn't in the source is probably mostly because 
it's a bit of a security risk, since on a publicly-accessible server, 
people could see your error messages and possibly get things like user 
names and paths from them.

So, it's probably good to not have that on by default.

If you want to add that in version control, commented out, you can.

But then somebody will probably come by at some point in the future, 
patrolling for commented-out dead code and remove it.  ;-)

Rob

Dan Bolser wrote:
> or at least put in the source and commented out?
> 
> 
> On 9 July 2010 14:01, Dan Bolser <dan.bolser@...> wrote:
>> I guess this is obvious to people who know, but I found it very useful
>> to add the following line to the gbrowse executable:
>>
>> use CGI::Carp qw(fatalsToBrowser);
>>
>>
>> Could this setting be added to the configuration file? i.e. a setting like:
>>
>> debug_CGI_fatals_to_browser = 1
(Continue reading)


Gmane