From 0257885fe46d76449effd280d958da0696cc7f5f Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Fri, 29 Nov 2013 22:54:55 -0800 Subject: [PATCH] CGI.pm: allow error messages to wrap When displaying an error message with very long text that does not contain a natural word wrap boundary force the text to wrap anyway by using break-word to avoid an ugly page. --- Girocco/CGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Girocco/CGI.pm b/Girocco/CGI.pm index aeff1d4..e06afc2 100644 --- a/Girocco/CGI.pm +++ b/Girocco/CGI.pm @@ -150,7 +150,7 @@ sub cgi { sub err { my $self = shift; - print "

@_

\n"; + print "

@_

\n"; $self->{err}++; } -- 2.11.4.GIT