AlkantarClanX12

Your IP : 3.142.131.51


Current Path : /usr/share/perl5/URI/
Upload File :
Current File : //usr/share/perl5/URI/ldapi.pm

package URI::ldapi;

use strict;
use warnings;

our $VERSION = '1.73';
$VERSION = eval $VERSION;

use parent qw(URI::_ldap URI::_generic);

require URI::Escape;

sub un_path {
    my $self = shift;
    my $old = URI::Escape::uri_unescape($self->authority);
    if (@_) {
	my $p = shift;
	$p =~ s/:/%3A/g;
	$p =~ s/\@/%40/g;
	$self->authority($p);
    }
    return $old;
}

sub _nonldap_canonical {
    my $self = shift;
    $self->URI::_generic::canonical(@_);
}

1;