[RADIATOR] HTTP Log

Mike McCauley mikem at open.com.au
Thu Jan 13 17:29:26 CST 2011


Hi Adam,

Thanks for your note.
Your patch has now been added to the latest patch set.

thanks again.

Cheers.

On Friday 14 January 2011 01:30:22 am Adam Bishop wrote:
> Hello,
>
> At high trace levels the log can accumulate characters that are "Special"
> to HTML, such as < and >.  This can cause a few display issues with the
> HTTP log display.
>
> At the end of this message is a single line patch to escape the offending
> characters before they are emitted.  Logging to text file/sql/syslog is
> unaffected.
>
> Adam Bishop
> JANET(UK)
>
> --- ServerHTTP.pm.old 2011-01-13 14:27:58.000000000 +0000
> +++ ServerHTTP.pm 2011-01-13 14:36:37.000000000 +0000
> @@ -1469,6 +1469,9 @@
>   $log .= $self->{parent}->{log}[$i] . "\n"
>      if defined $self->{parent}->{log}[$i];
>      }
> +
> +    $log = CGI::Util::simple_escape($log);
> +
>      $self->send_standard(<<"EOF"
>  This page shows the last $self->{parent}->{LogMaxLines} log messages
> recorded by this Radiator. It can be useful when checking or debugging your
> new configuration.
>
>
> JANET(UK) is a trading name of The JNT Association, a company limited
> by guarantee which is registered in England under No. 2881024
> and whose Registered Office is at Lumen House, Library Avenue,
> Harwell Oxford, Didcot, Oxfordshire. OX11 0SG
>
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator



-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.


More information about the radiator mailing list