about summary refs log tree commit homepage
path: root/t/psgi_mount.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-08-14 10:21:09 +0000
committerEric Wong <e@80x24.org>2016-08-14 10:51:02 +0000
commit9d1e5fadd7d18f4c96ab0509d673040e34225a04 (patch)
treedd89df05390a2ca2e06448ec0acdbf741729d36e /t/psgi_mount.t
parent1d0ce406b75fc174bee51e77efe5f10c61fb6098 (diff)
downloadpublic-inbox-9d1e5fadd7d18f4c96ab0509d673040e34225a04.tar.gz
Based on reading RFC 3986, it seems '@', ':', '!', '$', '&',
"'", '; '(', ')', '*', '+', ',', ';', '=' are all allowed
in path-absolute where we have the Message-ID.

In any case, it seems '@' is fairly common in path components
nowadays and too common in Message-IDs.
Diffstat (limited to 't/psgi_mount.t')
-rw-r--r--t/psgi_mount.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/psgi_mount.t b/t/psgi_mount.t
index dae45baf..4a515c6a 100644
--- a/t/psgi_mount.t
+++ b/t/psgi_mount.t
@@ -67,7 +67,7 @@ test_psgi($app, sub {
         is($res->code, 200, 'OK with URLMap mount');
         $res = $cb->(GET('/a/test/m/blah%40example.com.html'));
         is($res->header('Location'),
-                'http://localhost/a/test/blah%40example.com/',
+                'http://localhost/a/test/blah@example.com/',
                 'redirect functions properly under mount');
 
         $res = $cb->(GET('/test/blah%40example.com/'));