Changeset 14794
- Timestamp:
- Sep 7, 2007, 11:39:58 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
r14792 r14794 1 1 # Copyright (c) 2006 Paul Price, Joshua Hoblitt 2 2 # 3 # $Id: Config.pm,v 1.6 8 2007-09-07 21:29:50price Exp $3 # $Id: Config.pm,v 1.69 2007-09-07 21:39:58 price Exp $ 4 4 5 5 package PS::IPP::Config; … … 196 196 carp "base is not inited" if not defined $base; 197 197 my $scheme = file_scheme($base); # The scheme, e.g., file://, path:// 198 $base =~ s|^$scheme:/*|| ;198 $base =~ s|^$scheme:/*|| if defined $scheme; 199 199 200 200 my $root = ''; … … 480 480 if ($name =~ m|^/|) { return $name; } 481 481 # without a leading slash, this is an error 482 carp " Programming error";483 exit($PS_EXIT_ PROG_ERROR);482 carp "Relative file name provided: relative paths are not permitted."; 483 exit($PS_EXIT_SYS_ERROR); 484 484 } 485 485
Note:
See TracChangeset
for help on using the changeset viewer.
