Subject: | t/html-form.t FAILs with HTTP-Message 6.03 |
same problem fixed in HTML-Form 6.03
and is reflected in recent failures appearing in cpantesters
Subject: | HTML-DOM-0.050.tar.gz.diff |
diff -u HTML-DOM-0.050.orig/t/html-form.t HTML-DOM-0.050/t/html-form.t
--- HTML-DOM-0.050.orig/t/html-form.t 2011-09-03 15:31:08.000000000 +1000
+++ HTML-DOM-0.050/t/html-form.t 2012-02-26 09:44:52.517482366 +1000
@@ -108,10 +108,10 @@
is($f->main::click->as_string, <<'EOT');
POST http://localhost/
-Content-Length: 76
+Content-Length: 82
Content-Type: application/x-www-form-urlencoded; charset="utf-8"
-i.x=1&i.y=1&c=on&r=b&t=&p=&h=xyzzy&f=foo.txt&x=&a=%0Aabc%0A+++&s=bar&m=a&m=b
+i.x=1&i.y=1&c=on&r=b&t=&p=&h=xyzzy&f=foo.txt&x=&a=%0D%0Aabc%0D%0A+++&s=bar&m=a&m=b
EOT
$doc->write(<<'EOT'); $doc->close; $f = ($doc->forms)[0];