]> Sergey Matveev's repositories - public-inbox.git/commit
www: workaround for malformed NNTP links
authorEric Wong <e@80x24.org>
Fri, 26 Feb 2016 01:57:57 +0000 (01:57 +0000)
committerEric Wong <e@80x24.org>
Fri, 26 Feb 2016 02:45:24 +0000 (02:45 +0000)
commit3111c278a1ca996a69398896945cd29a3277cdb7
tree07f4f7fed0eb2cc65335d3faca5684d8e36b6d97
parentd42cdde813719ed96c2ece567543a66f4884e946
www: workaround for malformed NNTP links

Some linkifiers to create invalid HTTP links when it sees a
link intended for NNTP services.  This means we may see links
to news.public-inbox.org/inbox.comp.mail.public-inbox.meta
point to "http://" on port 80 instead of 119.  Try to
redirect users to http://public-inbox.org/meta/ in this case.
lib/PublicInbox/NewsWWW.pm [new file with mode: 0644]
lib/PublicInbox/WWW.pm