• Bug#1099833: wiki.debian.org: Verbatim text containing "8k/com" trigger

    From John Paul Adrian Glaubitz@21:1/5 to All on Sat Mar 8 17:40:01 2025
    XPost: linux.debian.ports.68k, linux.debian.www

    Package: wiki.debian.org
    Severity: normal
    User: debian-68k@lists.debian.org
    Usertags: m68k
    X-Debbugs-Cc: debian-68k@lists.debian.org

    Hello,

    I wanted to create a wiki page which contains the following verbatim text:

    === SunOS 4.1.1 ===

    {{{
    # dmesg | head -8

    Feb 15 12:38
    SunOS Release 4.1.1 (GENERIC) #1: Sat Oct 13 06:05:48 PDT 1990
    Copyright (c) 1983-1990, Sun Microsystems, Inc.
    mem = 24576K (0x18000000)
    avail mem = 23486464
    Ethernet address = 8:0:20:0:0:3
    si at vme24d16 0x200000 vec 0x40
    # uname -a
    SunOS ferrari 4.1.1 1 sun3
    # cat test.c
    #include <stdio.h>
    #include <sys/stdtypes.h>

    #define offsetof(type, member) ((size_t)(unsigned long)(&((type *)0)->member))

    struct test { char x; int y; };

    int main()
    {
    printf("struct test { char x; int y; };\n");
    printf("sizeof(sturct test) = %d\n", sizeof(struct test));
    printf("offsetof(struct test, y) = %d\n", offsetof(struct test, y));
    }
    # cc test.c
    # file a.out
    a.out: mc68020 demand paged dynamically linked executable not stripped # ./a.out
    struct test { char x; int y; };
    sizeof(struct test) = 6
    offsetof(struct test, y) = 2
    #
    }}}

    This fails as the substring "8k/com" triggers a spam filter, the error message is:

    'Sorry, can not save page because "8k/com" is not allowed in this wiki.'

    Can this be alleviated by fixing the blacklist of the spam filter? I'm not sure why
    "8k/com" is a blocked string, in particular being a substring.

    Thanks,
    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)