⌈⌋ branch:  freshcode


Check-in [792720840e]

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

Overview
Comment:Recent updates to basic spam blacklist.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:792720840e7d6779bcd57a38ba2d0cc77a53d794
User & Date: mario 2017-01-31 18:42:53
Context
2017-01-31
18:43
Additional howto/comments on login page regarding `lock` field requiring proper password hash or OpenID handle. check-in: f21257ed67 user: mario tags: trunk
18:42
Recent updates to basic spam blacklist. check-in: 792720840e user: mario tags: trunk
2016-11-03
21:29
Hash any literal passwords. check-in: 322785403d user: mario tags: trunk
Changes

Changes to aux.php.

   331    331   
   332    332   /**
   333    333    * Trivial check against well-known project spam.
   334    334    *
   335    335    */
   336    336   function data_blacklisted($release) {
   337    337       $rules = array(
   338         -        "submitter" => "/wilmix j/",
   339         -        "homepage" => "/wilmix7|zeesmovie|softwarereviews/",
          338  +        "submitter" => "/wilmix j/i",
          339  +        "homepage" => "~wilmix|zeesmovie|softwarereviews|diclofenac|\/\/buy-~i",
   340    340           "name" => "/DOLLAR|JDollar|Jehovah|Millionaire *s/",
          341  +        "description" => "/viagra|levitra|tetracycline*s|quickbooks/",
   341    342       );
   342    343       foreach ($rules as $field => $rx) {
   343    344           if (preg_match($rx, $release[$field])) {
   344    345               return TRUE;
   345    346           }
   346    347       }
   347    348       return false;