[ https://issues.apache.org/jira/browse/COCOON-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Gallardo closed COCOON-2020. ------------------------------------ Resolution: Fixed Fix Version/s: 2.2-dev (Current SVN) 2.1.12-dev (Current SVN) Thanks for the patch. :) > CAPTCHA <input> element should have autocomplete="off" > ------------------------------------------------------- > > Key: COCOON-2020 > URL: https://issues.apache.org/jira/browse/COCOON-2020 > Project: Cocoon > Issue Type: Bug > Components: Blocks: Forms > Affects Versions: 2.1.6, 2.1.7, 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.2-dev > (Current SVN) > Reporter: Mark Lundquist > Assignee: Antonio Gallardo > Priority: Trivial > Fix For: 2.1.12-dev (Current SVN), 2.2-dev (Current SVN) > > > The bug summary says it all, and this isn't even enough to bother making a > patch, all it takes is the following lines added to forms-field-styling.xsl > (the diff is from my 2.1.8 vendor branch, but this fix will work in all > Cocoon versions): > forms-field-styling.xsl (working copy) > @@ -55,6 +55,9 @@ > </xsl:if> > <!-- @id:input is what labels point to --> > <input name="[EMAIL PROTECTED]" id="[EMAIL PROTECTED]:input" > value="{fi:value}" title="{fi:hint}" type="text"> > + <xsl:if test="fi:captcha-image"> > + <xsl:attribute name="autocomplete" select="'off'"/> > + </xsl:if> > <xsl:apply-templates select="." mode="styling"/> > </input> > <xsl:apply-templates select="." mode="common"/> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.