- SEE ALSO
- REQUESTS AND BUGS
- COPYRIGHT AND LICENSE
URI::Unredirect - Remove obvious redirects from a
use URI; use URI::Unredirect; my $uri = URI->new('http://example.com/r?u=http%3A%2F%2Fexample.net'); $uri = $uri->unredirect; # http://example.net/
URI::Unredirect enables the removal of obvious redirects from a
URI without making any network requests.
It adds the following method to the
$uri = $uri->unredirect
Removes obvious redirects and returns the resulting
For efficiency reasons, if the
URI is unchanged, a reference to the original is returned instead of a copy.
Please report any bugs or feature requests to http://rt.cpan.org/Public/Bug/Report.html?Queue=URI-Unredirect. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
GitHub Source Repository
AnnoCPAN: Annotated CPAN documentation
RT: CPAN's request tracker
Copyright (C) 2009 gray <gray at cpan.org>, all rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
gray, <gray at cpan.org>