You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2009/08/10 04:11:59 UTC

[jira] Commented: (STR-3189) Enable the Autocomplete tag by default

    [ https://issues.apache.org/struts/browse/STR-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46564#action_46564 ] 

Paul Benedict commented on STR-3189:
------------------------------------

Struts has a long-standing policy of not providing non-standard attributes on their tags. This attribute is part of HTML 5, I believe, so you may get it :-) Also, Struts 1.4 may contain a way for you to add dynamic attributes through a nested tag.

> Enable the Autocomplete tag by default
> --------------------------------------
>
>                 Key: STR-3189
>                 URL: https://issues.apache.org/struts/browse/STR-3189
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Tag Libraries
>    Affects Versions: 1.3.10
>         Environment: All
>            Reporter: Jim Manico
>
> I'm a big fan of Struts 1.3.x. I currently use Struts 1.3.10, the latest release of the 1.x Struts line.
> I would like the ability to disable autocomplete in an HTML form. Sadly (from a security perspective), most every browser enables autocomplete by default. We need to explicitly attribute our form html with autocomplete="off" - in both the form and form element tags of HTML 4.01+ pages. This is a very basic security protection. Wanting to preventing the browser from caching credit card number, PII and other critical user data is a no-brainier; appsec 101.
>   
> Now, the recent 1.3.10 release made a great stride in this direction. Finally for the first time the main Struts 1.3.x branch supports the autocomplete tag (which defensive coders need - just to disable this feature via html!). But it's still not enabled by default in Struts!  I need to modify the struts tld xml file in order to enable the autocomplete form and form element attribute; which takes me off the main branch of Struts 1.3.x.  
> I implore you to consider enabling autocomplete by default, so we can turn it off - without having to customize our version of struts 1.3.x! The best security is "secured by default", and this request moves us in that direction. 
> Jim Manico
> OWASP, Intrinsic Security Working Group

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.