IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13789


Ignore:
Timestamp:
Jun 13, 2007, 9:17:50 AM (19 years ago)
Author:
eugene
Message:

file:// keeps leading slash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Config/lib/PS/IPP/Config.pm

    r13788 r13789  
    11# Copyright (c) 2006  Paul Price, Joshua Hoblitt
    22#
    3 # $Id: Config.pm,v 1.60 2007-06-13 19:16:11 eugene Exp $
     3# $Id: Config.pm,v 1.61 2007-06-13 19:17:50 eugene Exp $
    44
    55package PS::IPP::Config;
     
    475475
    476476    $name =~ s|^\S+:/*||;
    477     $name = '/' . $name;
    478477
    479478    if (lc($scheme) eq 'file') {
     479        # the above strips of the leading slash; replace it for file://
     480        $name = '/' . $name;
    480481        return $name;
    481482    }
Note: See TracChangeset for help on using the changeset viewer.