The only explanation I can think of is that /../ are only understood in relative URI's, not in absolute ones. But why? Can you enlighten me?use strict; use warnings; use feature "say"; use URI; my $base = URI->new("http://a.b.c/d/../e/"); my $uri = URI->new("http://a.b.c/y"); say $uri->rel($base); # ../../../y
In reply to Relative URI by choroba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |