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

RBRi via HtmlUnit-develop <[email protected]> Fri, 25 Sep 2020 12:25:16 -0000
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID </p/htmlunit/bugs/2001/5ed860532141ed325851a02ed205fbd3f68a2f95.bugs@htmlunit.p.sourceforge.net>
This is a multi-part message in MIME format.
--===============3265377812296169662==
Content-Type: multipart/related;
 boundary="===============1518392259313897386=="

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

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

Looks fine  now - thansl for the support.


---

** [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 05:59 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.
--===============2707573541764098733==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit

<div class="markdown_content"><p>Looks fine  now - thansl for the support.</p>
<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 05:59 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>
--===============2707573541764098733==--
--===============1518392259313897386==--


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


--===============3265377812296169662==
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

--===============3265377812296169662==--