Skip to content

Commit

Permalink
Item13897: Fixup's from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Aug 11, 2016
1 parent c4634d4 commit 3bc94ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/lib/Foswiki/App.pm
Expand Up @@ -1947,7 +1947,8 @@ sub getWikiName {
my $cUID = $this->getCanonicalUserID($user);
unless ( defined $cUID ) {
my ( $w, $u ) =
normalizeWebTopicName( $this->cfg->data->{UsersWebName}, $user );
$this->request->normalizeWebTopicName(
$this->cfg->data->{UsersWebName}, $user );
return $u;
}
return $this->users->getWikiName($cUID);
Expand All @@ -1972,7 +1973,8 @@ sub getWikiUserName {
my $cUID = $this->getCanonicalUserID($user);
unless ( defined $cUID ) {
my ( $w, $u ) =
normalizeWebTopicName( $this->cfg->data->{UsersWebName}, $user );
$this->request->normalizeWebTopicName(
$this->cfg->data->{UsersWebName}, $user );
return "$w.$u";
}
return $this->users->webDotWikiName($cUID);
Expand Down
2 changes: 2 additions & 0 deletions core/lib/Foswiki/Config.pm
Expand Up @@ -1677,6 +1677,8 @@ qr(AERO|ARPA|ASIA|BIZ|CAT|COM|COOP|EDU|GOV|INFO|INT|JOBS|MIL|MOBI|MUSEUM|NAME|NE
$Foswiki::regex{filenameInvalidCharRegex} =
qr/$Foswiki::cfg{AttachmentNameFilter}/;

$Foswiki::regex{webTopicInvalidCharRegex} = qr/$Foswiki::cfg{NameFilter}/;

# Multi-character alpha-based regexes
$Foswiki::regex{mixedAlphaNumRegex} = qr/[[:alnum:]]*/;

Expand Down

0 comments on commit 3bc94ec

Please sign in to comment.