Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace with_traceback() with exception chaining and reraising (GH-32074) | Oleg Iarygin | 2022-03-30 | 1 | -3/+2 |
| | |||||
* | bpo-45874: Handle empty query string correctly in urllib.parse.parse_qsl ↵ | Christian Sattler | 2021-12-12 | 1 | -2/+3 |
| | | | | (#29716) | ||||
* | bpo-44002: Switch to lru_cache in urllib.parse. (GH-25798) | Gregory P. Smith | 2021-05-12 | 1 | -29/+29 |
| | | | | | | | | | | | | Switch to lru_cache in urllib.parse. urllib.parse now uses functool.lru_cache for its internal URL splitting and quoting caches instead of rolling its own like its the 90s. The undocumented internal Quoted class API is now deprecated as it had no reason to be public and no existing OSS users were found. The clear_cache() API remains undocumented but gets an explicit test as it is used in a few projects' (twisted, gevent) tests as well as our own regrtest. | ||||
* | bpo-43882 Remove the newline, and tab early. From query and fragments. ↵ | Senthil Kumaran | 2021-05-05 | 1 | -3/+5 |
| | | | | (GH-25921) | ||||
* | bpo-43979: Remove unnecessary operation from urllib.parse.parse_qsl (GH-25756) | Dong-hee Na | 2021-04-30 | 1 | -2/+1 |
| | | | Automerge-Triggered-By: GH:gpshead | ||||
* | bpo-43882 - urllib.parse should sanitize urls containing ASCII newline and ↵ | Senthil Kumaran | 2021-04-29 | 1 | -0/+6 |
| | | | | | | | | tabs. (GH-25595) * issue43882 - urllib.parse should sanitize urls containing ASCII newline and tabs. Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-42967: coerce bytes separator to string in urllib.parse_qs(l) (#24818) | Ken Jin | 2021-04-11 | 1 | -0/+1 |
| | | | | | | | * coerce bytes separator to string * Add news * Update Misc/NEWS.d/next/Library/2021-03-11-00-31-41.bpo-42967.2PeQRw.rst | ||||
* | bpo-42967: Fix urllib.parse docs and make logic clearer (GH-24536) | Ken Jin | 2021-02-15 | 1 | -2/+1 |
| | |||||
* | bpo-42967: only use '&' as a query string separator (#24297) | Adam Goldschmidt | 2021-02-14 | 1 | -5/+15 |
| | | | | | | | | | | | bpo-42967: [security] Address a web cache-poisoning issue reported in urllib.parse.parse_qsl(). urllib.parse will only us "&" as query string separator by default instead of both ";" and "&" as allowed in earlier versions. An optional argument seperator with default value "&" is added to specify the separator. Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Éric Araujo <merwok@netwok.org> | ||||
* | bpo-39481: PEP 585 for a variety of modules (GH-19423) | Batuhan Taşkaya | 2020-04-10 | 1 | -0/+3 |
| | | | | | | | | | | - concurrent.futures - ctypes - http.cookies - multiprocessing - queue - tempfile - unittest.case - urllib.parse | ||||
* | bpo-37970: update and improve urlparse and urlsplit doc-strings (GH-16458) | idomic | 2020-02-16 | 1 | -6/+35 |
| | |||||
* | bpo-39057: Fix urllib.request.proxy_bypass_environment(). (GH-17619) | Serhiy Storchaka | 2020-01-05 | 1 | -2/+2 |
| | | | Ignore leading dots and no longer ignore a trailing newline. | ||||
* | bpo-27657: Fix urlparse() with numeric paths (#661) | Tim Graham | 2019-10-18 | 1 | -21/+1 |
| | | | | | | | | | | * bpo-27657: Fix urlparse() with numeric paths Revert parsing decision from bpo-754016 in favor of the documented consensus in bpo-16932 of how to treat strings without a // to designate the netloc. * bpo-22891: Remove urlsplit() optimization for 'http' prefixed inputs. | ||||
* | bpo-32498: urllib.parse.unquote also accepts bytes (GH-7768) | Stein Karlsen | 2019-10-14 | 1 | -0/+2 |
| | |||||
* | bpo-36742: Corrects fix to handle decomposition in usernames (#13812) | Steve Dower | 2019-06-04 | 1 | -3/+3 |
| | |||||
* | bpo-35397: Remove deprecation and document urllib.parse.unwrap (GH-11481) | Rémi Lapeyre | 2019-05-27 | 1 | -7/+5 |
| | |||||
* | bpo-36742: Fixes handling of pre-normalization characters in urlsplit() ↵ | Steve Dower | 2019-04-30 | 1 | -4/+7 |
| | | | | (GH-13017) | ||||
* | bpo-12910: update and correct quote docstring (#2568) | Jörn Hees | 2019-04-10 | 1 | -13/+20 |
| | | | | | | Fixes some mistakes and misleadings in the quote function docstring: - reserved chars are never actually used by quote code, unreserved chars are - reserved chars were wrong and incomplete - mentioned that use-case is not minimal quoting wrt. RFC, but cautious quoting | ||||
* | bpo-36216: Add check for characters in netloc that normalize to separators ↵ | Steve Dower | 2019-03-07 | 1 | -0/+17 |
| | | | | (GH-12201) | ||||
* | bpo-34866: Adding max_num_fields to cgi.FieldStorage (GH-9660) | matthewbelisle-wf | 2018-10-19 | 1 | -3/+19 |
| | | | | Adding `max_num_fields` to `cgi.FieldStorage` to make DOS attacks harder by limiting the number of `MiniFieldStorage` objects created by `FieldStorage`. | ||||
* | bpo-27485: Rename and deprecate undocumented functions in urllib.parse (GH-2205) | Cheryl Sabella | 2018-04-25 | 1 | -4/+99 |
| | |||||
* | bpo-33034: Improve exception message when cast fails for ↵ | Matt Eaton | 2018-03-20 | 1 | -1/+5 |
| | | | | {Parse,Split}Result.port (GH-6078) | ||||
* | bpo-32323: urllib.parse.urlsplit() must not lowercase() IPv6 scope value (#4867) | Коренберг Марк | 2017-12-21 | 1 | -4/+6 |
| | |||||
* | remove a redundant lower in urllib.parse.urlsplit (#3008) | Oren Milman | 2017-09-03 | 1 | -2/+1 |
| | |||||
* | urllib: Simplify splithost by calling into urlparse. (#1849) | postmasters | 2017-06-20 | 1 | -1/+1 |
| | | | | | | | | The current regex based splitting produces a wrong result. For example:: http://abc#@def Web browsers parse that URL as ``http://abc/#@def``, that is, the host is ``abc``, the path is ``/``, and the fragment is ``#@def``. | ||||
* | bpo-29976: urllib.parse clarify '' in scheme values. (GH-984) | Senthil Kumaran | 2017-05-18 | 1 | -11/+19 |
| | |||||
* | correct parse_qs and parse_qsl test case descriptions. (#968) | Senthil Kumaran | 2017-04-05 | 1 | -13/+17 |
| | | | * correct parse_qs and parse_qsl test case descriptions. | ||||
* | bpo-16285: Update urllib quoting to RFC 3986 (#173) | Ratnadeep Debnath | 2017-02-25 | 1 | -3/+6 |
| | | | | | | | | | | * bpo-16285: Update urllib quoting to RFC 3986 urllib.parse.quote is now based on RFC 3986, and hence includes `'~'` in the set of characters that is not escaped by default. Patch by Christian Theune and Ratnadeep Debnath. | ||||
* | Issue #28992: Use bytes.fromhex(). | Serhiy Storchaka | 2016-12-21 | 1 | -1/+1 |
| | |||||
* | Issue #25895: Merge from 3.5 | Berker Peksag | 2016-09-16 | 1 | -2/+3 |
|\ | |||||
| * | Issue #25895: Enable WebSocket URL schemes in urllib.parse.urljoin | Berker Peksag | 2016-09-16 | 1 | -2/+3 |
| | | | | | | | | Patch by Gergely Imreh and Markus Holtermann. | ||||
* | | merge from 3.5 | Senthil Kumaran | 2016-01-26 | 1 | -15/+0 |
|\ \ | |/ | | | | | Remove unnecessary test case comment in urllib.parse.py. These are asserted as test cases. | ||||
| * | Remove unnecessary test case comment in urllib.parse.py. These are asserted ↵ | Senthil Kumaran | 2016-01-26 | 1 | -15/+0 |
| | | | | | | | | as test cases. | ||||
* | | Issue #25822: Add docstrings to the fields of urllib.parse results. | Senthil Kumaran | 2016-01-14 | 1 | -2/+65 |
| | | | | | | | | Patch contributed by Swati Jaiswal. | ||||
* | | Issue #20059: urllib.parse raises ValueError on all invalid ports. | Robert Collins | 2015-08-09 | 1 | -2/+1 |
|/ | | | | Patch by Martin Panter. | ||||
* | Issue #13866: add *quote_via* argument to urlencode. | R David Murray | 2015-05-18 | 1 | -14/+15 |
| | | | | | Patch by samwyse, completed by Arnon Yaari, and reviewed by Martin Panter. | ||||
* | Issue #23703: Fix a regression in urljoin() introduced in 901e4e52b20a. | Berker Peksag | 2015-04-15 | 1 | -2/+1 |
| | | | | Patch by Demian Brecht. | ||||
* | Issue #23411: Added DefragResult, ParseResult, SplitResult, DefragResultBytes, | Serhiy Storchaka | 2015-04-07 | 1 | -1/+3 |
| | | | | | ParseResultBytes, and SplitResultBytes to urllib.parse.__all__. Patch by Martin Panter. | ||||
* | Issue #23563: Optimized utility functions in urllib.parse. | Serhiy Storchaka | 2015-03-03 | 1 | -60/+28 |
| | |||||
* | Merge: #23040: Clarify treatment of encoding and errors when component is bytes. | R David Murray | 2014-12-25 | 1 | -4/+5 |
|\ | |||||
| * | #23040: Clarify treatment of encoding and errors when component is bytes. | R David Murray | 2014-12-25 | 1 | -4/+5 |
| | | | | | | | | Patch by Wojtek Ruszczewski. | ||||
* | | Issue #22278: Fix urljoin problem with relative urls, a regression observed | Senthil Kumaran | 2014-09-22 | 1 | -1/+5 |
| | | | | | | | | | | | | after changes to issue22118 were submitted. Patch contributed by Demian Brecht and reviewed by Antoine Pitrou. | ||||
* | | Issue #22118: Switch urllib.parse to use RFC 3986 semantics for the ↵ | Antoine Pitrou | 2014-08-21 | 1 | -25/+38 |
| | | | | | | | | | | | | resolution of relative URLs, rather than RFCs 1808 and 2396. Patch by Demian Brecht. | ||||
* | | Issue #22033: Reprs of most Python implemened classes now contain actual | Serhiy Storchaka | 2014-07-25 | 1 | -1/+1 |
|/ | | | | class name instead of hardcoded one. | ||||
* | Issue #20879: Delay the initialization of encoding and decoding tables for | Victor Stinner | 2014-03-17 | 1 | -2/+7 |
| | | | | | | base32, ascii85 and base85 codecs in the base64 module, and delay the initialization of the unquote_to_bytes() table of the urllib.parse module, to not waste memory if these modules are not used. | ||||
* | Issue #20270: urllib.urlparse now supports empty ports. | Serhiy Storchaka | 2014-01-18 | 1 | -14/+17 |
|\ | |||||
| * | Issue #20270: urllib.urlparse now supports empty ports. | Serhiy Storchaka | 2014-01-18 | 1 | -14/+17 |
| | | |||||
* | | merge from 3.3 | Senthil Kumaran | 2013-09-06 | 1 | -4/+4 |
|\ \ | |/ | | | | | | | Improve urlencode docstring. Patch by Brian Brazil. Closes issue #15350 | ||||
| * | Improve urlencode docstring. Patch by Brian Brazil. | Senthil Kumaran | 2013-09-06 | 1 | -4/+4 |
| | | |||||
* | | Remove redundant imports | Raymond Hettinger | 2013-04-07 | 1 | -9/+0 |
|/ |