⌈⌋ branch:  freshcode


Check-in [75bba41295]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add cash* spamwords.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 75bba412954d01d45d91639f2e8d9ee089477c43
User & Date: mario 2021-04-05 06:22:37
Context
2021-04-05
06:23
Note about changed cloudflare API, but code not updated yet. check-in: 7d2df178fd user: mario tags: trunk
06:22
Add cash* spamwords. check-in: 75bba41295 user: mario tags: trunk
06:20
Add background image for IndieAuth logon button, remove some debug messages. check-in: e56e768074 user: mario tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to aux.php.

333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
 * Trivial check against well-known project spam.
 *
 */
function data_blacklisted($release) {
    $rules = array(
        "summary" => "/wilmix/i",
        "submitter" => "/wilmix|jemin/i",
        "homepage" => "~wilmix|zeesmovie|softwarereviews|diclofenac|viagra|\/\/buy-|fmeextensions|creditloans|casino~i",
        "urls" => "~[gjch]dollar|wilmix~i",
        "name" => "/DOLLAR|JDollar|Jehovah|Millionaire *s/",
        "description" => "/invented by|viagra|levitra|tetracycline*s|quickbooks|wilmix|productcustomization|creditloans|<a href=\"/",
    );
    foreach ($rules as $field => $rx) {
        if (preg_match($rx, $release[$field])) {
            return TRUE;







|







333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
 * Trivial check against well-known project spam.
 *
 */
function data_blacklisted($release) {
    $rules = array(
        "summary" => "/wilmix/i",
        "submitter" => "/wilmix|jemin/i",
        "homepage" => "~wilmix|zeesmovie|softwarereviews|diclofenac|viagra|\/\/buy-|fmeextensions|creditloans|casino|cashapp|quickbooks~i",
        "urls" => "~[gjch]dollar|wilmix~i",
        "name" => "/DOLLAR|JDollar|Jehovah|Millionaire *s/",
        "description" => "/invented by|viagra|levitra|tetracycline*s|quickbooks|wilmix|productcustomization|creditloans|<a href=\"/",
    );
    foreach ($rules as $field => $rx) {
        if (preg_match($rx, $release[$field])) {
            return TRUE;