<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=313541323-18032009><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=313541323-18032009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=313541323-18032009><FONT face=Arial size=2>We are in the
process on upgrading fromNagios 2.8 to Nagios 3.0.6. Our original configuration
includes serviceextinfo definitions which set the action_url to include a pair
of macros as follows:</FONT></SPAN></DIV>
<DIV><SPAN class=313541323-18032009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=313541323-18032009><FONT face=Arial size=2>define
serviceextinfo{<BR>
hostgroup_name
meta-windows<BR>
service_description disk usage on
C:<BR>
action_url
/nagios_ext/cgi-bin/disk.cgi?h=$HOSTNAME$&s=$SERVICEDESC$<BR>}</FONT></SPAN></DIV>
<DIV><SPAN class=313541323-18032009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=313541323-18032009><FONT face=Arial size=2>In version 2.8, the
resulting HREF URL was properly escaped (with a plus sign replacing each space
in the service description), but the spaces remain unchanged in version 3.0.6. A
check of the apache access_log shows that Firefox replaces the space with %20 in
the HTTP request, but I am concerned about unexpected behavior in our production
environment.</FONT></SPAN></DIV>
<DIV><SPAN class=313541323-18032009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=313541323-18032009><FONT face=Arial size=2>Is this a bug?
Should I replace the macros with literal strings, properly escaped? Is there a
better solution?</FONT></SPAN></DIV>
<DIV><SPAN class=313541323-18032009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=313541323-18032009><FONT face=Arial size=2>Thank you in advance
for any guidance.</FONT></SPAN></DIV>
<DIV><SPAN class=313541323-18032009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=313541323-18032009><FONT face=Arial size=2>D.
Tetreault</FONT></SPAN></DIV>
<DIV><SPAN class=313541323-18032009></SPAN> </DIV></BODY></HTML>
<p>
This e-mail and any attachments may contain confidential and<br>
privileged information. If you are not the intended recipient,<br>
please notify the sender immediately by return e-mail, delete this<br>
e-mail and destroy any copies. Any dissemination or use of this<br>
information by a person other than the intended recipient is<br>
unauthorized and may be illegal.<br>
</p>