Bugfix in reset_variables (base/utils.c)

seisen at linuxfr.org seisen at linuxfr.org
Mon Jan 31 11:34:54 CET 2005


Hi,

we are using Nagios bu through an apache with mod_proxy_html(1) in order
to rewrite URLs in link/forms.
mod_proxy_html parse the html as X tree and Nagios generated html is not
valid.

when cmd.c send:
<tr><td CLASS='optBoxItem'><form method='post'  action='cmd.cgi'></td><td> ...

it gets rewritten by mod_proxy_html:
<tr><td class="optBoxItem"><form method="post" action="cmd.cgi"></form><

which obviously prevent the form from working.

i modified two lines in cmd.c to move <form></form> outside of the
<table></table>

-- 
GnuPG ID 1024D/112189D8
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cmd.c.diff
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20050131/95135cb9/attachment.ksh>


More information about the Developers mailing list