|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bugfix #99: Square brackets in path element not escaped.
Hopefully fixes issue#99 w/o breaking new stuff.
https://github.com/libwww-perl/URI/issues/99
Setting the environment variable URI_RESERVED_SQUARE_BRACKETS=1
restores the old behaviour (5.10 and before).
See section ENVIRONMENT VARIABLES of the URI.pm perldoc.
Tests for issue#99: Square brackets in path element not escaped.
Not complete yet. See #TODO.
t/old-base.t adapted to match new and legacy behavior
Fixed typos in POD of URI.pm
more tests, esp. getter validation
userinfo(): setter escapes according to RFC 3987
authority(): setter escapes userinfo part separately from host part
authority(): IPv6 detection for host part (should use Regexp::IPv6)
URI.pm: POD fixed
uri-test: explicit use of ./lib replaced by visual warning
See: https://github.com/libwww-perl/URI/pull/100#discussion_r903497606
POD corrections and clarifications.
See: https://github.com/libwww-perl/URI/pull/100#discussion_r895442979
https://github.com/libwww-perl/URI/pull/100#discussion_r895443302
https://github.com/libwww-perl/URI/pull/100#discussion_r903515373
Unused global variable removed.
See: https://github.com/libwww-perl/URI/pull/100#discussion_r895978559
_generic.pm: uses Regexp::IPv6 if installed, fallback otherwise
The fallback regexp is just a check for the minimum amount of
legal characters. Extra check is used to ensure that at least
two colons are present.
See: https://github.com/libwww-perl/URI/pull/100#discussion_r903810999
Another try to get POD spehlink rait.
cpanfile: Regexp::IPv6 is suggested at runtime
Spelling fixed and comments updated. Thanks, @simbabque.
|