Afficher un message
Vieux 15/03/2005, 16h01   #4
Bill
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mod_proxy_html and nested <body> tags

Here is a snippet from the original HTML file:


<BODY TEXT="000000" BGCOLOR="F8F0D9" BACKGROUND="">

<FORM><SCRIPT LANGUAGE="JavaScript"
SRC="../files/pp.js/$File/pp.js"></script>
<link rel="stylesheet" href="../files/my_style.css/$File/my_style.css"
type="text/css">
<link rel="stylesheet"
href="../files/my_style2.css/$File/my_style2.css" type="text/css">
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR VALIGN=top><TD WIDTH="360"><div id="specsTitle">SMW</div><br><BODY
onLoad='javascript...


Please note the beginning of a nested <BODY> tag within the <TABLE>
tag. After being run through mod_proxy_html, this is what is being
served to the browser:


<body text="000000" bgcolor="F8F0D9" background="">
<form><script language="JavaScript"
src="../files/pp.js/$File/pp.js"></script>
<link rel="stylesheet" href="../files/my_style.css/$File/my_style.css"
type="text/css">
<link rel="stylesheet"
href="../files/my_style2.css/$File/my_style2.css" type="text/css">
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="360"><div id="specsTitle">SMW</div><br>
onLoad='javascript...


Notice now that the <BODY> tag within the table has been removed. The
onLoad event is being treated as text and is being displayed on the
page as opposed to occurring when the page is loaded. What could cause
this internal <BODY> tag to get dropped?

  Réponse avec citation
 
Page generated in 0,06288 seconds with 9 queries