diff options
author | Eric Wong <e@80x24.org> | 2022-06-09 17:53:53 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-06-09 22:29:05 +0000 |
commit | 930d2dc63e04c652e3b64cc7f3b3a7d377637065 (patch) | |
tree | 889d5adbbee07c5ecae20f50572fb2038c70a4c6 /t | |
parent | 68b53c88891129928183c30fd416bb8bc82a87e7 (diff) | |
download | public-inbox-930d2dc63e04c652e3b64cc7f3b3a7d377637065.tar.gz |
It's probably not a perfect match for RFC 6068 atm, but perfect is the enemy of good. Reported-by: Moritz Poldrack <moritz@poldrack.dev> Link: https://public-inbox.org/meta/CKJSWGSZFKMX.3VUSIYE955Z9X@Archetype/
Diffstat (limited to 't')
-rw-r--r-- | t/plack.t | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -85,6 +85,7 @@ test_psgi($app, sub { my ($cb) = @_; my $res = $cb->(GET('http://example.com/test/crlf@example.com/')); is($res->code, 200, 'retrieved CRLF as HTML'); + like($res->content, qr/mailto:me\@example/, 'no %40, per RFC 6068'); unlike($res->content, qr/\r/, 'no CR in HTML'); $res = $cb->(GET('http://example.com/test/crlf@example.com/raw')); is($res->code, 200, 'retrieved CRLF raw'); |