Malcolm Beck´s: Sicherheit

Beitrag lesen

hi,

Der Validator "meckert" darueber bei Verwendung eines Strict-Doctypes, weil in solchem keine inline-Formularelemente als direkte Kinder von form erlaubt sind - da muss erst mal noch ein block-Element drumherum.

Ich habe es leider nicht so Exakt Formulieren können ;)

Dazu bietet das Manual auch eine Loesungsmoeglichkeit an:
"Note: If you want HTML/XHTML strict conformity, remove the form entry [from url_rewriter.tags] and use the <fieldset> tags around your form fields."

Irgendwas scheine ich falsch zu machen, ich habe es jetzt mit allen erdenklichen variationen probiert, nichts funktioniert.

.tpl

 <form action="" method="post"><fieldset>  
  { $styleSwitchButton }  
 </fieldset></form> 

Ausgabe

 <form action="" method="post"><input type="hidden" name="SessioNGIN" value="3d27e..." /><fieldset><input type="hidden" name="SessioNGIN" value="3d27e..." />  
 </fieldset></form>

Bei mir werden immer 2 input type hidden erzeugt, ich verstehe aber nicht, warum das so ist.

Andere Konstallation:

.tpl

 <fieldset><form action="" method="post" id="select_media">  
  { $styleSwitchButton }  
 </form> </fieldset>

Ausgabe

 <fieldset><input type="hidden" name="SessioNGIN" value="3d27e..." /><form action="" method="post" id="select_media"><input type="hidden" name="SessioNGIN" value="3d27e..." />  
 </form> </fieldset>

Ich habe ledigilich in der php.ini session.use_trans_sid = 1 aktiviert, warum wird das input Feld zweimal erzeugt?

holla holla

--
Alle Angaben ohne Gewehr.
Hey, wenn's dir nicht gefällt, mach neu ...