Proposed fix for Weather Bug # 2719
This is a fix for the broken e-mail parser in the ctlutil.py utility of TOR Weather. The original parser could not handle symbol replacement like ".AT." for @ and would allow illegal characters in the returned e-mail address.
This fix adds two levels of address sanitation with intermediate checks for the existence of a valid string. There is also a final check to make sure that the returned address conforms to RFC 2822.
The repository is located at git@github.com:buzachaka/TOR-Weather.git.
The only differences between this repository and the current master are in the ctlutil.py file.
Trac:
Username: buzachaka