[PATCH] CGI DOM fixup

Andreas Ericsson ae at op5.se
Tue Jan 4 14:47:34 CET 2011


On 01/04/2011 01:58 PM, Sven-Göran Bergh wrote:
> 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):
> 

Very confused client indeed then, since they should
encode them as < and >, respectively. Anyways...

> {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.
> 

Thanks for the patch and the reminder. Will apply.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
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




More information about the Developers mailing list