graphite-project/carbon — pull request #7 by GoGraphs (2012-06-20 14:54:02+00:00)
Title: fix for bug #1012325 on launchpad

Fixes problem where empty lines in whitelist.conf allows all metrics through.

Caused by end-of-line characters evaluating as False, but an empty regex (after the line has been stripped) matches everything/anything. Fix is to evaluate on the stripped line/pattern itself.

I tested this by reproducing the problem locally then fixing it, but let me know if you need more.