[HtmlUnit] [htmlunit:bugs] #2001 Insufficient validation of input elements

RBRi via HtmlUnit-develop <[email protected]> Fri, 18 Sep 2020 15:53:17 -0000
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID </p/htmlunit/bugs/2001/deb9b8cb59fb485ce40a41c32a358d4103032a49.bugs@htmlunit.p.sourceforge.net>
This is a multi-part message in MIME format.
--===============9194002526930999589==
Content-Type: multipart/related;
 boundary="===============7660093169360970853=="

This is a multi-part message in MIME format.
--===============7660093169360970853==
Content-Type: multipart/alternative;
 boundary="===============6959436704197427689=="
MIME-Version: 1.0

--===============6959436704197427689==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

- **status**: open --> closed



---

** [bugs:#2001] Insufficient validation of input elements**

**Status:** closed
**Group:** 2.33
**Created:** Mon Nov 19, 2018 12:29 PM UTC by Anton
**Last Updated:** Fri Sep 18, 2020 03:52 PM UTC
**Owner:** nobody


Hi All,

It seems that current implementation supports only required attribute validation for input element (attribute required and value is not empty).

But html specify more options:
- maxlength
- min
- max
- pattern

So it would be nice to use them to calculate input validity before form submission.
If it would be necessary I could provide patch for this feature a bit later.

Best regards


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/htmlunit/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
--===============6959436704197427689==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit

<div class="markdown_content"><ul>
<li><strong>status</strong>: open --&gt; closed</li>
</ul>
<hr/>
<p><strong> <a class="alink strikethrough" href="https://sourceforge.net/p/htmlunit/bugs/2001/">[bugs:#2001]</a> Insufficient validation of input elements</strong></p>
<p><strong>Status:</strong> closed<br/>
<strong>Group:</strong> 2.33<br/>
<strong>Created:</strong> Mon Nov 19, 2018 12:29 PM UTC by Anton<br/>
<strong>Last Updated:</strong> Fri Sep 18, 2020 03:52 PM UTC<br/>
<strong>Owner:</strong> nobody</p>
<p>Hi All,</p>
<p>It seems that current implementation supports only required attribute validation for input element (attribute required and value is not empty).</p>
<p>But html specify more options:<br/>
- maxlength<br/>
- min<br/>
- max<br/>
- pattern</p>
<p>So it would be nice to use them to calculate input validity before form submission.<br/>
If it would be necessary I could provide patch for this feature a bit later.</p>
<p>Best regards</p>
<hr/>
<p>Sent from sourceforge.net because [email protected] is subscribed to <a href="https://sourceforge.net/p/htmlunit/bugs/">https://sourceforge.net/p/htmlunit/bugs/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/htmlunit/admin/bugs/options.">https://sourceforge.net/p/htmlunit/admin/bugs/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>
--===============6959436704197427689==--
--===============7660093169360970853==--


--===============9194002526930999589==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============9194002526930999589==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
HtmlUnit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop

--===============9194002526930999589==--