cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (COCOON-2020) CAPTCHA <input> element should have autocomplete="off"
Date Wed, 20 Feb 2008 07:03:47 GMT

     [ 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.


Mime
View raw message