Bug 2124537
| Summary: | perl-HTML-FormFu-Element-reCAPTCHA-1.00-25.fc38 FTBFS: t/recaptcha.t fails with perl-HTML-Tiny-1.07-1.fc38 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
| Component: | perl-HTML-Tiny | Assignee: | Emmanuel Seyman <emmanuel> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | emmanuel, iarnell, perl-devel, ppisar |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://koschei.fedoraproject.org/package/perl-HTML-FormFu-Element-reCAPTCHA?collection=f38 | ||
| Whiteboard: | |||
| Fixed In Version: | perl-HTML-Tiny-1.08-1.fc38 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-09 10:26:46 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2117176 | ||
For your reference, I fixed a similar issue in perl-Captcha-reCAPTCHA (bug #2124499). This will be probably fixed on HTML-Tiny side in 1.08 version. |
perl-HTML-FormFu-Element-reCAPTCHA-1.00-25.fc38 fails to build in Fedora 38 because a test fails: # Failed test 'stringified form' # at t/recaptcha.t line 29. # got: '<form action="" method="post"> # <div> # <span class="elements"> # <script type="text/javascript"> # //<![CDATA[ # var RecaptchaOptions = {}; # //]]> # </script> # <script src="http://www.google.com/recaptcha/api/challenge?k=xxx" type="text/javascript"></script> # <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?k=xxx" width="500" /><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript> # </span> # </div> # </form> # ' # expected: '<form action="" method="post"> # <div> # <span class="elements"> # <script type="text/javascript"> # //<![CDATA[ # var RecaptchaOptions = {}; # //]]> # </script> # <script src="http://www.google.com/recaptcha/api/challenge?k=xxx" type="text/javascript"></script> # <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?k=xxx" width="500"></iframe><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript> # </span> # </div> # </form> # ' # Looks like you failed 1 test of 1. t/recaptcha.t .................. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests This is triggered by upgrading perl-HTML-Tiny from 1.05-40.fc37 to 1.07-1.fc38. The reason is that HTML-Tiny-1.07 changed a serialization of empty iframe elements to a single tag.