[PATCH] CGI DOM fixup

Sven-Göran Bergh sgb at systemasis.com
Tue Jan 4 13:58:24 CET 2011


Hi list

I have not seen any reactions on this patch. Thus, I
submit it again, in hope for some comments and/or
inclusion.

The patch addresses small, but annoying, bugs in some
of the the CGI DOMs. A typical example ("<" and ">"
are replaced with "{" and "}" due to HTML mail client
confusions):

{table}{form}{tr}{td}...{/td}{/tr}{/form}{/table}

is not a valid structure. The form element may be
ignored or suppressed by some browsers. Valid
alternatives are:

{form}{table}{tr}{td}...{/td}{/tr}{/table}{/form}
or
{table}{tr}{td}{form}...{/form}{/td}{/tr}{/table}

When the CGI's are loaded in their own viewport, all
shows up ok (as expected :-). However, when the CGIs
are loaded inside an existing DOM, typically in a
div-tag, some browsers choose to hide these forms.

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 similar bugs in there, but
these are my immediate itch. Please include or
comment.

/S-G
______________________________________________


Sven-Göran Bergh, Systemasis AB
______________________________________________


-------------- 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/20110104/a8c2b23d/attachment.obj>
-------------- next part --------------
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
-------------- 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