summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix the defined check to use parensHEADmasterChase Whitener2023-05-031-1/+1
|
* Add the change logs for this branchChase Whitener2023-05-031-0/+3
|
* Remove use of Taint in tests.Chase Whitener2023-05-034-7/+1
| | | | | Also, ensure all tests files do not include the shebang. t/query.t had a join() over an array with undef values; fix that.
* increment $VERSION after 5.19 releaseJulien Fiegehenn2023-04-3055-54/+56
|
* URI-5.19v5.19Julien Fiegehenn2023-04-301-1/+1
| | | | | - Form parameters without values are now represented by undef (GH#65) (Gianni Ceccarelli)
* disambiguate code for older PerlsJulien Fiegehenn2023-04-301-1/+1
| | | | | | | 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.
* add stopwords to spellcheckerJulien Fiegehenn2023-04-301-1/+2
|
* update ChangesJulien Fiegehenn2023-04-301-0/+2
|
* handle form params without valuesGianni Ceccarelli2023-04-303-10/+22
| | | | | you can create them by passing `undef` as value, which is also what you get when parsing them
* use a simpler module to test downstream compatJulien Fiegehenn2023-04-301-1/+1
| | | | | | 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.
* don't test with LWP::Curl because it's properly brokenJulien Fiegehenn2023-04-301-1/+1
|
* increment $VERSION after 5.18 releaseJulien Fiegehenn2023-04-2955-54/+56
|
* URI-5.18v5.18Julien Fiegehenn2023-04-292-3/+10
| | | | | | | | | - 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)
* update ChangesJulien Fiegehenn2023-04-291-1/+1
|
* Update URI::_punycode to make several functions that have neverChase Whitener2023-04-293-11/+11
| | | | | | | | | | | | | 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.
* protect username '0'Julien Fiegehenn2023-04-293-5/+13
|
* remove colon from pair "user:pass" if has no passwordJoenio Costa2023-04-292-2/+14
| | | | (closes github issue #13)
* rephrase POD and add test to prove itJulien Fiegehenn2023-04-293-7/+19
|
* Add samples to PODSebastian Willing2023-04-291-1/+6
|
* Add a GH workflow to test LWP::CurlOlaf Alders2023-04-294-0/+45
|
* increment $VERSION after 5.17 releaseOlaf Alders2022-11-0255-54/+56
|
* URI-5.17v5.17Olaf Alders2022-11-021-1/+1
| | | | | | - Updated RFC references in the pod documentation for URI::file (GH#117) (Håkon Hgland) - Fix SIP URI encoder/decoder (GH#118) (ryankereliuk)
* Update ChangesOlaf Alders2022-11-021-0/+1
|
* Add missing unit test coverage and fix SIP URI to pass tests. MainlyRyan Kereliuk2022-11-022-37/+47
| | | | fixing the params() setter but make the code more readable in general.
* Updated pod RFC references in URI::fileHåkon Hægland2022-11-012-6/+7
| | | | | Latest RFC version of the uri file scheme is RFC 8089, and latest version of RFC for generic URI syntax is RFC 3986.
* increment $VERSION after 5.16 releaseOlaf Alders2022-10-1255-54/+56
|
* URI-5.16v5.16Olaf Alders2022-10-122-4/+70
| | | | | - Merge the methods from URI::QueryParam into URI, so they are always available (GH#114) (Graham Knop)
* Update ChangesOlaf Alders2022-10-121-2/+2
|
* add changelog entry for merging URI::QueryParam methodsGraham Knop2022-10-121-0/+2
|
* merge URI::QueryParam into URI itselfGraham Knop2022-10-123-184/+162
|
* increment $VERSION after 5.15 releaseOlaf Alders2022-10-1155-54/+56
|
* URI-5.15v5.15Olaf Alders2022-10-111-1/+1
| | | | | - Teach uri_escape to accept a Regexp object as the characters to escape as an alternative to a character class. (GH#113) (Graham Knop)
* Update ChangesOlaf Alders2022-10-111-1/+1
|
* add changelog entry for regexp parameters to uri_escapeGraham Knop2022-10-111-0/+2
|
* uri_escape: allow characters to escape to be specified as a Regexp objectGraham Knop2022-10-112-0/+25
|
* increment $VERSION after 5.14 releaseOlaf Alders2022-10-1055-54/+56
|
* URI-5.14v5.14Olaf Alders2022-10-101-1/+1
| | | | | - Fix uri_escape allowing \w style character classes in its character set parameter (GH#112) (Graham Knop)
* Add GH PR # and author attribution to latest Changes entryOlaf Alders2022-10-101-3/+2
|
* fix uri_escape support for \w style character classesGraham Knop2022-10-104-18/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* test cleanupsGraham Knop2022-10-103-5/+8
| | | | | | | | | 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.
* increment $VERSION after 5.13 releaseOlaf Alders2022-10-0655-54/+56
|
* URI-5.13v5.13Olaf Alders2022-10-061-1/+1
| | | | | | | | | | - 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)
* Update ChangesOlaf Alders2022-10-061-0/+2
|
* Improve escaping of unwanted charactersBranislav Zahradník2022-10-062-2/+63
| | | | Fixes #74
* Merge pull request #110 from libwww-perl/oalders/perlimportsJulien Fiegehenn2022-10-0317-18/+43
|\ | | | | Apply perlimports to tests
| * Apply perlimports to testsOlaf Alders2022-10-0316-18/+18
| |
| * Add perlimports.tomlOlaf Alders2022-10-031-0/+25
|/
* Use matrix.os to deduplicate mac and windows job configurationBranislav Zahradník2022-09-291-84/+15
|
* workflows: add newer perl versionsBranislav Zahradník2022-09-291-0/+3
|
* Replace raw TAP printing with "Test::More"James Raspass2022-08-2225-635/+361
|