Invalid cgi DOM patch

Sven-Göran Bergh sgb at systemasis.com
Fri Dec 17 11:27:13 CET 2010


Hi list,

attached is a small path for an inconsistency
in some of the CGI's DOM. Typical example:

<table><form><tr><td>...</td></tr></form></table>

is not valid. Instead it should be:

<form><table><tr><td>...</td></tr></table></form>
or
<table><tr><td><form>...</form></td></tr></table>

When loaded in its own window, frame or iframe all
shows up ok. However, when loaded in an existing
DOM, typically in a <div>-tag, some forms are lost
in some browsers (observed in FF3.x).

The patch is against release 3.2.3 and has been
tested in Chrome3, Chrome8, FF3.5, IE6, IE8 and
Opera10.

Affected CGIs are:
 - avail.cgi
 - config.cgi
 - histogram.cgi
 - trends.cgi

There are probably more bugs in there, but this
was my immediate itch. Please include or comment.

Thanks in adv
/S-G
______________________________________________

Sven-Göran Bergh, Systemasis AB

______________________________________________


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20101217/85648a93/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-3.2.3_cgi-DOM.patch
Type: application/octet-stream
Size: 13713 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20101217/85648a93/attachment.obj>
-------------- next part --------------
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list