Add some input validation.
authorThomas Hochstein <thh@inter.net>
Wed, 4 Sep 2013 11:04:14 +0000 (13:04 +0200)
committerThomas Hochstein <thh@inter.net>
Sun, 8 Sep 2013 15:53:25 +0000 (17:53 +0200)
commit48c8d4bb8e0585ce26e63d1332e6efb20babdf6f
tree6e0d079cae6182bcdac18bcb7a33f075b3892ad3
parent13e006104bf83a3bdb3be16f44908fb1c2670213
Add some input validation.

Our raw data doesn't have the qualitiy one should
expect. There are empty header lines only containing
whitespace (leading to wrong joining of apparent
continuation lines); header lines that contain garbage
without ':' so split is failing; empty 'newsgroups'
fields; unsupported encondings in MIME encoded words
... and so on.

Add fixes for the aforementioned problems.

Signed-off-by: Thomas Hochstein <thh@inter.net>
bin/parsedb.pl
This page took 0.011082 seconds and 4 git commands to generate.