[
https://issues.apache.org/jira/browse/WW-3429?focusedWorklogId=1003915&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1003915
]
ASF GitHub Bot logged work on WW-3429:
--------------------------------------
Author: ASF GitHub Bot
Created on: 06/Feb/26 14:50
Start Date: 06/Feb/26 14:50
Worklog Time Spent: 10m
Work Description: sonarqubecloud[bot] commented on PR #1570:
URL: https://github.com/apache/struts/pull/1570#issuecomment-3860886028
## [](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1570)
**Quality Gate passed**
Issues
 [0 New
issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1570&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0 Accepted
issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1570&issueStatuses=ACCEPTED)
Measures
 [0 Security
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=1570&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [100.0% Coverage on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1570&metric=new_coverage&view=list)
 [0.0% Duplication on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1570&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarQube
Cloud](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1570)
Issue Time Tracking
-------------------
Worklog Id: (was: 1003915)
Time Spent: 20m (was: 10m)
> <input> tag generated by <s:checkbox> produce HTML warning in validators
> ------------------------------------------------------------------------
>
> Key: WW-3429
> URL: https://issues.apache.org/jira/browse/WW-3429
> Project: Struts 2
> Issue Type: Bug
> Components: Core Interceptors, Other
> Affects Versions: 2.1.8.1
> Environment: Apache Tomcat 5.5, 6.0.18 running on Win 32 and Fedora
> Code Linux x86_64. Actually, bug is relevant to any environment.
> Reporter: Alexey Malev
> Assignee: Lukasz Lenart
> Priority: Minor
> Labels: checkbox, hidden, html, input, warning
> Fix For: 7.2.0
>
> Attachments: CheckboxInterceptor.java, checkbox.ftl, diff.txt
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> <s:checkbox> tag with default xhtml theme produce an <input> tag, like that
> one:
> <input type="hidden" id="__checkbox_is_vacancy_open"
> name="__checkbox_vacancy.open" value="true" />
> produces HTML Tidy validator warning about an attribute name and ID starting
> with two "_" signs. So, here is a patch I suggest to resolve this issue:
> I changed FreeMarker template and a checkbox interceptor code in such a way
> that prefix of that input no longer produce warning.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)