You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Antonio Gallardo (JIRA)" <ji...@apache.org> on 2008/02/20 08:03:47 UTC
[jira] Assigned: (COCOON-2020) CAPTCHA element should have
autocomplete="off"
[ https://issues.apache.org/jira/browse/COCOON-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Gallardo reassigned COCOON-2020:
----------------------------------------
Assignee: Antonio Gallardo
> 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
>
> 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="{@id}" id="{@id}: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.