Very long string in Email field gives fatal error
-
Using WPForms Lite 1.7.1.2, I have a form that has only an Email field and a Submit button. When I enter a very long address (“asdfffff…[email protected]”, which is about 90 f’s), I get the following in my error log and across the top of the page on which the form occurs:
[01-Jan-2022 20:16:43 UTC] PHP Fatal error: Uncaught TrueBV\Exception\LabelOutOfBoundsException: The length of any one label is limited to between 1 and 63 octets, but 94 given. in /home/dh_bbfafd/tsglma.org/wp-content/plugins/wpforms-lite/vendor/true/punycode/src/Punycode.php:183 Stack trace: #0 /home/dh_bbfafd/tsglma.org/wp-content/plugins/wpforms-lite/includes/fields/class-email.php(921): TrueBV\Punycode->decode('asdffffffffffff...') #1 /home/dh_bbfafd/tsglma.org/wp-content/plugins/wpforms-lite/includes/fields/class-email.php(899): WPForms_Field_Email->transform_punycode('asdffffffffffff...', Array) #2 /home/dh_bbfafd/tsglma.org/wp-content/plugins/wpforms-lite/includes/fields/class-email.php(524): WPForms_Field_Email->decode_punycode('asdffffffffffff...') #3 /home/dh_bbfafd/tsglma.org/wp-includes/class-wp-hook.php(303): WPForms_Field_Email->format('1', 'asdffffffffffff...', Array) #4 /home/dh_bbfafd/tsglma.org/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #5 /home/dh_bbfafd/tsglma.org/wp-includes/plugin.php(470): WP_Hook->do_ in /home/dh_bbfafd/tsglma.org/wp-content/plugins/wpforms-lite/vendor/true/punycode/src/Punycode.php on line 183 [01-Jan-2022 20:17:23 UTC] Going to add_filter wpformsS_smart_tag_process
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Very long string in Email field gives fatal error’ is closed to new replies.