Changeset 25568

Show
Ignore:
Timestamp:
12/01/08 16:56:31 (4 years ago)
Author:
miyagawa
Message:

always use Unix!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Path-Class-URI/trunk/lib/Path/Class/URI.pm

    r25563 r25568  
    2424    my $self = shift; 
    2525    if ($self->is_absolute) { 
    26         return URI->new("file://localhost$self"); 
     26        return URI->new("file://localhost" . $self->as_foreign('Unix')); 
    2727    } else { 
    28         return URI->new("file:$self"); 
     28        return URI->new("file:" . $self->as_foreign('Unix')); 
    2929    } 
    3030}