~kosova/+junk/tuxfamily-twiki

« back to all changes in this revision

Viewing changes to foswiki/lib/TWiki/Sandbox.pm

  • Committer: James Michael DuPont
  • Date: 2009-07-18 19:58:49 UTC
  • Revision ID: jamesmikedupont@gmail.com-20090718195849-vgbmaht2ys791uo2
added foswiki

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package TWiki::Sandbox;
 
2
 
 
3
# Bridge between TWiki::Sandbox and Foswiki::Sandbox
 
4
 
 
5
use strict;
 
6
 
 
7
use Foswiki::Sandbox;
 
8
 
 
9
# Required because TWiki sysCommand is invoked as an object method.
 
10
sub new {
 
11
    my $class = shift;
 
12
    return bless( {}, $class);
 
13
}
 
14
 
 
15
sub untaintUnchecked { Foswiki::Sandbox::untaintUnchecked(@_) }
 
16
sub normalizeFileName { Foswiki::Sandbox::normalizeFileName(@_) }
 
17
sub sanitizeAttachmentName { Foswiki::Sandbox::sanitizeAttachmentName(@_) }
 
18
sub sysCommand { return Foswiki::Sandbox::sysCommand(@_) }
 
19
 
 
20
1;