Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.2.X EE, 7.0.0 M3
-
6.2.x
-
Committed
-
11
-
3
Description
Steps to reproduce:
1. In current master (7.0.x) deploy the attached portlet (testcaptcha-14.0-SNAPSHOT.war) that has the next form in the view.jsp:
<portlet:actionURL var="actionURL"> </portlet:actionURL> <aui:form action="<%= actionURL %>" method="post" name="fm1" enctype="multipart/form-data"> <liferay-ui:error exception="<%= CaptchaMaxChallengesException.class %>" message="maximum-number-of-captcha-attempts-exceeded" /> <liferay-ui:error exception="<%= CaptchaTextException.class %>" message="text-verification-failed" /> <aui:input type="file" name="file" /> <portlet:resourceURL var="captchaURL"> <portlet:param name="<%= Constants.CMD %>" value="captcha" /> </portlet:resourceURL> <liferay-ui:captcha url="<%= captchaURL %>" /> <aui:button type="submit" name="submit" /> </aui:form>
2. Add the portlet to a page and introduce the text validation for the captcha image.
3. Save.
Result: text verification error (see attached image validationerror.png)
Expected: no error.
Attachments
Issue Links
- relates
-
LPE-13158 Simple Captcha does not work with mutipart or form-data forms
-
- Closed
-