]> Sergey Matveev's repositories - public-inbox.git/commit
www: use undecoded paths for Message-ID extraction
authorEric Wong <e@80x24.org>
Wed, 13 Jun 2018 22:43:56 +0000 (22:43 +0000)
committerEric Wong <e@80x24.org>
Tue, 26 Jun 2018 07:39:58 +0000 (07:39 +0000)
commit73cfed86d8a8287a84221e0c79b60e03cb88a9ce
treea85c35b82af5cb70ed3076b69d10c2bd7e67b107
parentc33472811331a6134b796f1889d87f7decf4c831
www: use undecoded paths for Message-ID extraction

In PSGI, PATH_INFO contains URI-decoded paths which cause
problems when Message-IDs contain ambiguous characters for used
for routing.  Instead, extract the undecoded path from
REQUEST_URI and use that.

Reported-by: Leah Neukirchen <leah@vuxu.org>
  https://public-inbox.org/meta/8736xsb5s5.fsf@vuxu.org/
lib/PublicInbox/WWW.pm
t/cgi.t