| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Also, ensure all tests files do not include the shebang.
t/query.t had a join() over an array with undef values; fix that.
|
| |
|
|
|
|
|
| |
- Form parameters without values are now represented by undef (GH#65)
(Gianni Ceccarelli)
|
|
|
|
|
|
|
| |
It seems there was a bug in Perl < 5.22 that led to defined immediately
followed by a ternary '?' getting the parsing wrong. I checked this with
RJBS at the PTC and he couldn't explain why, so I just added the
brackets.
|
| |
|
| |
|
|
|
|
|
| |
you can create them by passing `undef` as value, which is also what
you get when parsing them
|
|
|
|
|
|
| |
We tried this with WWW::Mechanize but it kept hanging forever in the
github action. This one works, and it makes little difference which one
it is.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- Add a GH workflow to test LWP::Curl (GH#116) (Olaf Alders)
- Add documentation examples for the host() and ihost() methods (GH#28)
(Sebastian Willing)
- Remove colon from username:password if there is no password (GH#31)
(David E. Wheeler, Joenio Marques da Costa, Julien Fiegehenn)
- Prefix private methods with _ in URI::_punycode (GH#47) (David E Wheeler)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
been documented and have always been considered private to
actually be private.
* adapt -> _adapt
* code_point -> _code_point
* digit_value -> _digit_value
* min -> _min
This allows us to remove some special casing in the dist.ini conf
file, reducing complexity.
|
| |
|
|
|
|
| |
(closes github issue #13)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- Updated RFC references in the pod documentation for URI::file (GH#117)
(Håkon Hgland)
- Fix SIP URI encoder/decoder (GH#118) (ryankereliuk)
|
| |
|
|
|
|
| |
fixing the params() setter but make the code more readable in general.
|
|
|
|
|
| |
Latest RFC version of the uri file scheme is RFC 8089, and latest
version of RFC for generic URI syntax is RFC 3986.
|
| |
|
|
|
|
|
| |
- Merge the methods from URI::QueryParam into URI, so they are always
available (GH#114) (Graham Knop)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Teach uri_escape to accept a Regexp object as the characters to escape
as an alternative to a character class. (GH#113) (Graham Knop)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Fix uri_escape allowing \w style character classes in its character set
parameter (GH#112) (Graham Knop)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
uri_escape accepts a set of characters as its second parameter. This
would have some escaping done on it before being put in an eval to
generate an an escaping sub.
The last release of URI attempted to do extra escaping on this character
set. It tried to match the allowed forms of character classes, including
a-z and [:alpha:] forms, an escaping everything else. But it didn't
allow for character classes like \w. This broke several modules.
The original design of the code was written for prehistoric versions of
perl that didn't support compiled regexes (qr//). This is why it needed
the eval and sub generation. The supported perl versions all support
qr// objects, so we can compile using them rather than eval. This means
much less needs to be escaped. Specifically, only the [] characters
themselves. If we allow through the POSIX class forms ([:alpha:]),
escaping all others, we can still be safe but allow all existing forms
to be used.
This can result in warnings when attempting to use escapes like \Q...\E,
which are not valid character class escapes. These warnings are
appropriate, so test for them.
Some existing tests were expecting any backslash in the input to result
in backslashes being escaped. Since we are now allowing all backslash
sequences through, this is inappropriate. The tests needed to be
changed.
|
|
|
|
|
|
|
|
|
| |
Make a few small test cleanups. Use done_testing rather than an explicit
plan in escape.t and scheme-exceptions.t and remove the bogus +x on
path-segments.t
Also update scheme-exceptions.t to use a more obviously invalid URI
scheme.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Regression test added for a previous bug (5.11) in URI::file (Perlbotics).
file() method of URI::file can return the current working directory
instead of the properly unescaped path. (GH#106) (Perlbotics)
- Replace "Test" with "Test::More" (GH#107) (James Raspass)
- Replace raw TAP printing with "Test::More" (GH#108) (James Raspass)
- Apply perlimports to tests (GH#110) (Olaf Alders)
- Improve escaping of unwanted characters (GH#78) (Branislav Zahradnk)
|
| |
|
|
|
|
| |
Fixes #74
|
|\
| |
| | |
Apply perlimports to tests
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|