You are here: Foswiki>Tasks Web>Item14130 (09 Aug 2016, GeorgeClark)Edit Attach

Item14130: genwebnotify.pl does bogus wikiname matching.

pencil
Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Web Site
Component: genwebnotify
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
The GenerateWebNotify page gets it right, but the script then "validates" the names against:
  if ( $name =~ /^[A-Z]+[a-z]+[A-Z]/ ) {
and
  next unless $_ =~ /^\s*\* ([A-Z]+[a-z]+[A-Z]\w+)\s*$/;

This fails to match international Wikinames, as well as names with numerics. For ex. Item14126 submitted by Ehj52N

-- GeorgeClark - 09 Aug 2016

Additionally, the script is directly updating the topic txt file. It really ought to be using the API.

-- GeorgeClark - 09 Aug 2016
 

ItemTemplate edit

Summary genwebnotify.pl does bogus wikiname matching.
ReportedBy GeorgeClark
Codebase
SVN Range
AppliesTo Web Site
Component genwebnotify
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r1 - 09 Aug 2016, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy