[dreamwidth/dreamwidth] fbfd1d: Be slightly more lenient about removing HTML links...
Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: fbfd1d554492d88b498d7d7416a3ae8ace90ce6d https://github.com/dreamwidth/dreamwidth/commit/fbfd1d554492d88b498d7d7416a3ae8ace90ce6d Author: Jen kareila@dreamwidth.org Date: 2023-07-24 (Mon, 24 Jul 2023)
Changed paths: M cgi-bin/DW/Hooks/SpamCheck.pm M cgi-bin/DW/Logic/ProfilePage.pm
Log Message:
Be slightly more lenient about removing HTML links from userbios (#3212)
- Be slightly more lenient about removing HTML links from userbios
The is_validated method returns false for any email_status that isn't "A", but "T" means transitioning from one validated email to another, so we should allow that and only strip links if the email_status is "N".
- actually this should be case-insensitive
especially if D is going to use it for keywords as well as domains