Skip to content

Commit

Permalink
Item597: Forgot _ in the module name. This should be it.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@1684 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
OlivierRaginel authored and OlivierRaginel committed Jan 1, 2009
1 parent c751b2e commit 1750dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1882,7 +1882,7 @@ sub validatePerlModule {

# Remove all non alpha-numeric caracters and :
# Do not use \w as this is localized, and might be tainted
$module =~ s/[^a-zA-Z:]//g;
$module =~ s/[^a-zA-Z:_]//g;
return $module;
}

Expand Down

0 comments on commit 1750dae

Please sign in to comment.