]> Sergey Matveev's repositories - public-inbox.git/commit
view: enforce trailing slash for /$INBOX/$OID/s/ endpoints
authorEric Wong <e@80x24.org>
Sat, 19 Jan 2019 08:54:42 +0000 (08:54 +0000)
committerEric Wong <e@80x24.org>
Sun, 20 Jan 2019 04:24:54 +0000 (04:24 +0000)
commitf82593fc84a6773cd6fcb0633fdcca4cee92859f
tree74b696d1667cf36931b9e5c51ec0bf0f0671f242
parent37aadb7c7913442d470c050170639b37301cd6bf
view: enforce trailing slash for /$INBOX/$OID/s/ endpoints

As with our use of the trailing slash in $MESSAGE_ID/T/ and
'$MESSAGE_ID/t/' endpoints, this for 'wget -r --mirror'
compatibility as well as allowing sysadmins to quickly stand up
a static directory with "index.html" in it to reduce load.
lib/PublicInbox/ViewDiff.pm
lib/PublicInbox/ViewVCS.pm
lib/PublicInbox/WWW.pm