Hidden eZSESSID form fields causes invalid XHTML 1.0 STRICT

Hidden eZSESSID form fields causes invalid XHTML 1.0 STRICT

Friday 01 April 2005 2:58:54 am - 2 replies

Author Message

bisk

Friday 01 April 2005 3:25:25 am

I had a quick look at the validation link you provided. There is already a fieldset surrounding the hidden fields. But one hidden field is twice in the code, one before fieldset and one after, remove the first from the template (the name=eZSESSIDnetmakin input field) and I think it should validate.

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

Eirik Alfstad Johansen

Friday 01 April 2005 3:43:23 am

Hi bisk,

Thanks for your reply, bisk. Actually, what you saw was me half way to fixing the problem (which I've now managed to fix entirely).

What was causing it was a combination of an anchient PHP bug (http://bugs.php.net/bug.php?id=13472), and the form fields being surrounded by div tags instead of fieldset tags.

I solved the problem by replacing the divs with fieldsets, and putting the following into my .htaccess file:

<IfModule mod_php4.c>
   php_value url_rewriter.tags "a=href,area=href,frame=src,fieldset=fakeentry"
</IfModule>

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.