Nov. 9th, 2015

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: fd894a65cb6a0dd144f44a71beb217effb73d20f
https://github.com/dreamwidth/dw-free/commit/fd894a65cb6a0dd144f44a71beb217effb73d20f
Author: Kareila <kareila@dreamwidth.org>
Date: 2015-11-09 (Mon, 09 Nov 2015)

Changed paths:
M cgi-bin/DW/Controller/Admin/SpamReports.pm

Log Message:
-----------
[#1628] check for userids, not IP addresses

This changes the conditional for deciding whether an antispam report
is for a user or an IP address. The old regexp only looked for
the existence of a period, which worked for IPv4 but not IPv6.

Since userids are only digits, use a regexp that checks for those
instead and assume anything else should be treated as an IP address.

Fixes #1628.


Commit: e867923ef60d8bbdcb7aecb40279093ce34ba959
https://github.com/dreamwidth/dw-free/commit/e867923ef60d8bbdcb7aecb40279093ce34ba959
Author: Mark Smith <mark@qq.is>
Date: 2015-11-09 (Mon, 09 Nov 2015)

Changed paths:
M cgi-bin/DW/Controller/Admin/SpamReports.pm

Log Message:
-----------
Merge pull request #1629 from kareila/1628-antispam

[#1628] check for userids, not IP addresses


Compare: https://github.com/dreamwidth/dw-free/compare/eeb4cdda37bd...e867923ef60d
Page generated Jun. 20th, 2025 08:30 am
Powered by Dreamwidth Studios