system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
package URI::ldapi;
use strict;
use vars qw(@ISA);
require URI::_generic;
require URI::_ldap;
@ISA=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;