17
0

Commit Graph

  • 62fd9367a9 Accepting request 1329533 from devel:languages:python factory Ana Guerrero 2026-01-28 14:06:23 +00:00
  • d0ca1e8919 - update to 3.1.5: * safe_join on Windows does not allow more special device names, regardless of extension or surrounding spaces. :ghsa:87hc-h4r5-73f7 * Fix AttributeError when initializing DebuggedApplication with pin_security=False. :issue:3075 * drops 0001-limit-the-maximum-number-of-multipart-form-parts.patch stream that may not return the requested size in one * Type checking FileStorage accepts os.PathLike. #2418 :issue:2397 - Fix type annotation for send_file max_age callable. Don’t pass - Mark top-level names as exported so type checking understands imports - cached_property is generic over its return type, properties decorated - Fix multipart parsing bug when boundary contains special regex - Type checking understands that calling headers.get with a string - If HTTPException.description is not a string, get_description will - Deprecate the environ["werkzeug.server.shutdown"] function that is - Deprecate the useragents module and the built-in user agent parser. Use a dedicated parser library instead by subclassing user_agent.UserAgent - All datetime values are timezone-aware with tzinfo=timezone.utc. This applies to anything using http.parse_date: Request.date, .if_modified_since, .if_unmodified_since; Response.date, .expires, .last_modified, .retry_after; parse_if_range_header, and IfRange.date. When comparing values, the other values must also be aware, or these values must be made naive. When passing parameters or setting - Merge all request and response wrapper mixin code into single Request and Response classes. Using the mixin classes is no longer necessary and will show a deprecation warning. Checking isinstance or issubclass against BaseRequest and BaseResponse will show a deprecation warning - JSON support no longer uses simplejson if it’s installed. To use Dirk Mueller 2026-01-27 16:24:58 +00:00
  • 5fd1612e07 Accepting request 1325968 from devel:languages:python Ana Guerrero 2026-01-09 16:02:46 +00:00
  • bbe06c646c Accepting request 1325807 from home:glaubitz:branches:devel:languages:python Markéta Machová 2026-01-08 13:56:27 +00:00
  • dd12c1edc9 Accepting request 1223597 from devel:languages:python slfo-main slfo-1.2 Ana Guerrero 2024-11-12 18:19:57 +00:00
  • d57c27d919 Accepting request 1223597 from devel:languages:python Ana Guerrero 2024-11-12 18:19:57 +00:00
  • 5addf4ec6f - Update to 3.1.3 * Initial data passed to `MultiDict and similar interfaces only accepts list, tuple, or set when passing multiple values. It had been changed to accept any Collection, but this matched types that should be treated as single values, such as bytes. :issue:2994 * When the Host header is not set and Request.host falls back to the WSGI SERVER_NAME value, if that value is an IPv6 address it is wrapped in [] to match the Host header. :issue:2993 - from version 3.1.2 * Improve type annotation for TypeConversionDict.get to allow the type parameter to be a callable. :issue:2988 * Headers does not inherit from MutableMapping, as it is does not exactly match that interface. :issue:2989` Dirk Mueller 2024-11-12 09:37:54 +00:00
  • e861f25332 Accepting request 1223546 from home:glaubitz:branches:devel:languages:python Dirk Mueller 2024-11-12 09:37:54 +00:00
  • a439a0533f Accepting request 1221443 from devel:languages:python Ana Guerrero 2024-11-06 15:49:44 +00:00
  • 7d1527a6dd Accepting request 1221443 from devel:languages:python Ana Guerrero 2024-11-06 15:49:44 +00:00
  • 747921aa90 - Update to 3.1.1 * Fix an issue that caused `str(Request.headers) to always appear empty. :issue:2985 - from version 3.1.0 * Drop support for Python 3.8. :pr:2966 * Remove previously deprecated code. :pr:2967 * Request.max_form_memory_size defaults to 500kB instead of unlimited. Non-file form fields over this size will cause a RequestEntityTooLarge error. :issue:2964 * OrderedMultiDict and ImmutableOrderedMultiDict are deprecated. Use MultiDict and ImmutableMultiDict instead. :issue:2968 * Behavior of properties on request.cache_control and response.cache_control has been significantly adjusted. * Dict values are always str | None. Setting properties will convert the value to a string. Setting a property to False is equivalent to setting it to None. Getting typed properties will return None if conversion raises ValueError, rather than the string. :issue:2980 * max_age is None if present without a value, rather than -1. :issue:2980 * no_cache is a boolean for requests, it is True instead of "*" when present. It remains a string for responses. :issue:2980 * max_stale is True if present without a value, rather than "*". :issue:2980 * no_transform is a boolean. Previously it was mistakenly always None. :issue:2881 * min_fresh is None if present without a value, rather than "*". :issue:2881 * private is True if present without a value, rather than "*". :issue:2980 * Added the must_understand property. :issue:2881` John Paul Adrian Glaubitz 2024-11-05 13:35:57 +00:00
  • 806952929f Accepting request 1220538 from home:glaubitz:branches:devel:languages:python John Paul Adrian Glaubitz 2024-11-05 13:35:57 +00:00
  • dd7cc91f0b Accepting request 1218824 from devel:languages:python Ana Guerrero 2024-10-29 13:32:17 +00:00
  • 827b79af2e Accepting request 1218824 from devel:languages:python Ana Guerrero 2024-10-29 13:32:17 +00:00
  • 3006d0bf1a - Update to 3.0.6 (bsc#1232449, CVE-2024-49767): * Fix how max_form_memory_size is applied when parsing large non-file fields. GHSA-q34m-jh98-gwm2 * safe_join catches certain paths on Windows that were not caught by ntpath.isabs on Python < 3.11. GHSA-f9vj-2wh5-fj8j - 3.0.5: * The Watchdog reloader ignores file closed no write events. #2945 * Logging works with client addresses containing an IPv6 scope. #2952 * Ignore invalid authorization parameters. #2955 * Improve type annotation fore SharedDataMiddleware. #2958 * Compatibility with Python 3.13 when generating debugger pin and the current UID does not have an associated name. #2957 Daniel Garcia 2024-10-28 13:13:37 +00:00
  • 24ee10cb8b - Update to 3.0.6 (bsc#1232449, CVE-2024-49767): * Fix how max_form_memory_size is applied when parsing large non-file fields. GHSA-q34m-jh98-gwm2 * safe_join catches certain paths on Windows that were not caught by ntpath.isabs on Python < 3.11. GHSA-f9vj-2wh5-fj8j - 3.0.5: * The Watchdog reloader ignores file closed no write events. #2945 * Logging works with client addresses containing an IPv6 scope. #2952 * Ignore invalid authorization parameters. #2955 * Improve type annotation fore SharedDataMiddleware. #2958 * Compatibility with Python 3.13 when generating debugger pin and the current UID does not have an associated name. #2957 Daniel Garcia 2024-10-28 13:13:37 +00:00
  • 35f003f3cd Accepting request 1196238 from devel:languages:python Dominique Leuenberger 2024-08-29 13:42:42 +00:00
  • 6fa64839f6 Accepting request 1196238 from devel:languages:python Dominique Leuenberger 2024-08-29 13:42:42 +00:00
  • 9cefb5e9be - Update to 3.0.4 * Restore behavior where parsing multipart/x-www-form-urlencoded data with invalid UTF-8 bytes in the body results in no form data parsed rather than a 413 error. :issue:2930 * Improve `parse_options_header performance when parsing unterminated quoted string values. :issue:2904 * Debugger pin auth is synchronized across threads/processes when tracking failed entries. :issue:2916 * Dev server handles unexpected SSLEOFError due to issue in Python < 3.13. :issue:2926 * Debugger pin auth works when the URL already contains a query string. :issue:2918` Nico Krapp 2024-08-27 09:30:24 +00:00
  • 6550e9b497 Accepting request 1196085 from home:glaubitz:branches:devel:languages:python Nico Krapp 2024-08-27 09:30:24 +00:00
  • ceb3b09b1f Accepting request 1172322 from devel:languages:python Ana Guerrero 2024-06-12 13:37:22 +00:00
  • ed084ba1c8 Accepting request 1172322 from devel:languages:python Ana Guerrero 2024-06-12 13:37:22 +00:00
  • 4f7a26705c - Update to 3.0.3: * Only allow `localhost, .localhost, 127.0.0.1, or the specified hostname when running the dev server, to make debugger requests. Additional hosts can be added by using the debugger middleware directly. The debugger UI makes requests using the full URL rather than only the path. :ghsa:2g68-c3qc-8985 (CVE-2024-34069, bsc#1223979) * Make reloader more robust when "" is in sys.path. :pr:2823 * Better TLS cert format with adhoc dev certs. :pr:2891 * Inform Python < 3.12 how to handle itms-services URIs correctly, rather than using an overly-broad workaround in Werkzeug that caused some redirect URIs to be passed on without encoding. :issue:2828 * Type annotation for Rule.endpoint and other uses of endpoint is Any. :issue:2836 - Update to 3.0.2: * Ensure setting merge_slashes to False results in NotFound for repeated-slash requests against single slash routes. :issue:2834 * Fix handling of TypeError in TypeConversionDict.get() to match ValueError. :issue:2843 * Fix response_wrapper type check in test client. :issue:2831 * Make the return type of MultiPartParser.parse more precise. :issue:2840 * Raise an error if converter arguments cannot be parsed. :issue:2822` Daniel Garcia 2024-05-07 06:16:42 +00:00
  • 49a67d77bc - Update to 3.0.3: * Only allow `localhost, .localhost, 127.0.0.1, or the specified hostname when running the dev server, to make debugger requests. Additional hosts can be added by using the debugger middleware directly. The debugger UI makes requests using the full URL rather than only the path. :ghsa:2g68-c3qc-8985 (CVE-2024-34069, bsc#1223979) * Make reloader more robust when "" is in sys.path. :pr:2823 * Better TLS cert format with adhoc dev certs. :pr:2891 * Inform Python < 3.12 how to handle itms-services URIs correctly, rather than using an overly-broad workaround in Werkzeug that caused some redirect URIs to be passed on without encoding. :issue:2828 * Type annotation for Rule.endpoint and other uses of endpoint is Any. :issue:2836 - Update to 3.0.2: * Ensure setting merge_slashes to False results in NotFound for repeated-slash requests against single slash routes. :issue:2834 * Fix handling of TypeError in TypeConversionDict.get() to match ValueError. :issue:2843 * Fix response_wrapper type check in test client. :issue:2831 * Make the return type of MultiPartParser.parse more precise. :issue:2840 * Raise an error if converter arguments cannot be parsed. :issue:2822` Daniel Garcia 2024-05-07 06:16:42 +00:00
  • b3cf74ebee Accepting request 1120656 from devel:languages:python Ana Guerrero 2023-10-29 18:39:26 +00:00
  • 3b2d51265b Accepting request 1120656 from devel:languages:python Ana Guerrero 2023-10-29 18:39:26 +00:00
  • 1b4d2b0ee2 - Update to 3.0.1: * Fix slow multipart parsing for large parts potentially enabling DoS attacks. (CVE-2023-46136, bsc#1216581) * Remove previously deprecated code. * Deprecate the `__version__ attribute. Use feature detection, or importlib.metadata.version("werkzeug"), instead. * generate_password_hash uses scrypt by default. * Add the "werkzeug.profiler" item to the WSGI environ dictionary passed to ProfilerMiddleware's filename_format function. It contains the elapsed and time` values for the profiled request. * Explicitly marked the PathConverter as non path isolating. Steve Kowalik 2023-10-27 03:09:03 +00:00
  • d1a47dc94c - Update to 3.0.1: * Fix slow multipart parsing for large parts potentially enabling DoS attacks. (CVE-2023-46136, bsc#1216581) * Remove previously deprecated code. * Deprecate the `__version__ attribute. Use feature detection, or importlib.metadata.version("werkzeug"), instead. * generate_password_hash uses scrypt by default. * Add the "werkzeug.profiler" item to the WSGI environ dictionary passed to ProfilerMiddleware's filename_format function. It contains the elapsed and time` values for the profiled request. * Explicitly marked the PathConverter as non path isolating. Steve Kowalik 2023-10-27 03:09:03 +00:00
  • bf5612a4d6 Accepting request 1113325 from devel:languages:python Ana Guerrero 2023-09-26 20:00:43 +00:00
  • ba33e587ca Accepting request 1113325 from devel:languages:python Ana Guerrero 2023-09-26 20:00:43 +00:00
  • 0a891ec61f - Update to 2.3.7: * Use `flit_core instead of setuptools as build backend. * Fix parsing of multipart bodies. Adjust index of last newline in data start. * _plain_int and _plain_float strip whitespace before type enforcement. * Fix empty file streaming when testing. * Clearer error message when URL rule does not start with slash. * Accept q` value can be a float without a decimal part. - Drop captialisation again. Steve Kowalik 2023-09-25 02:08:05 +00:00
  • 63eb9d134d - Update to 2.3.7: * Use `flit_core instead of setuptools as build backend. * Fix parsing of multipart bodies. Adjust index of last newline in data start. * _plain_int and _plain_float strip whitespace before type enforcement. * Fix empty file streaming when testing. * Clearer error message when URL rule does not start with slash. * Accept q` value can be a float without a decimal part. - Drop captialisation again. Steve Kowalik 2023-09-25 02:08:05 +00:00
  • aeeb06e172 Accepting request 1110948 from devel:languages:python Ana Guerrero 2023-09-14 14:24:53 +00:00
  • d84c966fa5 Accepting request 1110948 from devel:languages:python Ana Guerrero 2023-09-14 14:24:53 +00:00
  • 8dcaa71674 * drops 0001-limit-the-maximum-number-of-multipart-form-parts.patch in older dists Dirk Mueller 2023-09-06 19:41:38 +00:00
  • 1fdf96fc31 * drops 0001-limit-the-maximum-number-of-multipart-form-parts.patch in older dists Dirk Mueller 2023-09-06 19:41:38 +00:00
  • c629e985d0 Accepting request 1093788 from devel:languages:python Dominique Leuenberger 2023-06-22 21:24:46 +00:00
  • 0123767f7a Accepting request 1093788 from devel:languages:python Dominique Leuenberger 2023-06-22 21:24:46 +00:00
  • 18319fe380 Update changelog Matej Cepl 2023-06-19 13:18:24 +00:00
  • fdb6bee8d7 Update changelog Matej Cepl 2023-06-19 13:18:24 +00:00
  • a0507d8603 Remove unnecessary setup.py Matej Cepl 2023-06-19 11:18:46 +00:00
  • 97f7a8415b Remove unnecessary setup.py Matej Cepl 2023-06-19 11:18:46 +00:00
  • 9a3ddd1b86 WIP Matej Cepl 2023-06-19 11:18:28 +00:00
  • f2cc44362c WIP Matej Cepl 2023-06-19 11:18:28 +00:00
  • 06c84985bf Accepting request 1093739 from home:alarrosa:branches:devel:languages:python Matej Cepl 2023-06-19 10:31:50 +00:00
  • 73f98582b6 Accepting request 1093739 from home:alarrosa:branches:devel:languages:python Matej Cepl 2023-06-19 10:31:50 +00:00
  • d3c2684e63 Accepting request 1082016 from devel:languages:python Dominique Leuenberger 2023-04-22 20:02:27 +00:00
  • 6b0a7af22a Accepting request 1082016 from devel:languages:python Dominique Leuenberger 2023-04-22 20:02:27 +00:00
  • 73fe74305b Accepting request 1081318 from home:dirkmueller:acdc:as_python3_module Dirk Mueller 2023-04-21 15:00:19 +00:00
  • dcdd0f822d Accepting request 1081318 from home:dirkmueller:acdc:as_python3_module Dirk Mueller 2023-04-21 15:00:19 +00:00
  • 60343e9a75 Accepting request 1071237 from devel:languages:python Dominique Leuenberger 2023-03-15 17:53:01 +00:00
  • 2222cb9787 Accepting request 1071237 from devel:languages:python Dominique Leuenberger 2023-03-15 17:53:01 +00:00
  • 9534624bf6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Werkzeug?expand=0&rev=77 Dirk Mueller 2023-03-13 19:32:36 +00:00
  • 12969057a0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Werkzeug?expand=0&rev=77 Dirk Mueller 2023-03-13 19:32:36 +00:00
  • e903201b06 - update to 2.2.3 (bsc#1208283, CVE-2023-25577): * Ensure that URL rules using path converters will redirect with strict slashes when the trailing slash is missing. * Type signature for `get_json specifies that return type is not optional when silent=False. * parse_content_range_header returns None for a value like bytes */-1 where the length is invalid, instead of raising an AssertionError. * Address remaining ResourceWarning related to the socket used by run_simple. * Remove prepare_socket, which now happens when creating the server. * Update pre-existing headers for multipart/form-data requests with the test client. * Fix handling of header extended parameters such that they are no longer quoted. * LimitedStream.read works correctly when wrapping a stream that may not return the requested size in one read call. * A cookie header that starts with = is treated as an empty key and discarded, rather than stripping the leading ==. * Specify a maximum number of multipart parts, default 1000, after which a RequestEntityTooLarge` exception is raised on parsing. This mitigates a DoS attack where a larger number of form/file parts would result in disproportionate resource use. Dirk Mueller 2023-03-13 18:51:34 +00:00
  • 3c12c1e502 - update to 2.2.3 (bsc#1208283, CVE-2023-25577): * Ensure that URL rules using path converters will redirect with strict slashes when the trailing slash is missing. * Type signature for `get_json specifies that return type is not optional when silent=False. * parse_content_range_header returns None for a value like bytes */-1 where the length is invalid, instead of raising an AssertionError. * Address remaining ResourceWarning related to the socket used by run_simple. * Remove prepare_socket, which now happens when creating the server. * Update pre-existing headers for multipart/form-data requests with the test client. * Fix handling of header extended parameters such that they are no longer quoted. * LimitedStream.read works correctly when wrapping a stream that may not return the requested size in one read call. * A cookie header that starts with = is treated as an empty key and discarded, rather than stripping the leading ==. * Specify a maximum number of multipart parts, default 1000, after which a RequestEntityTooLarge` exception is raised on parsing. This mitigates a DoS attack where a larger number of form/file parts would result in disproportionate resource use. Dirk Mueller 2023-03-13 18:51:34 +00:00
  • c131673f3a Accepting request 1003681 from devel:languages:python Dominique Leuenberger 2022-09-17 18:08:21 +00:00
  • 07fe7af0f1 Accepting request 1003681 from devel:languages:python Dominique Leuenberger 2022-09-17 18:08:21 +00:00
  • d14dd3aac2 Accepting request 1003613 from home:bnavigator:branches:devel:languages:python Matej Cepl 2022-09-15 05:44:44 +00:00
  • c521b0e01a Accepting request 1003613 from home:bnavigator:branches:devel:languages:python Matej Cepl 2022-09-15 05:44:44 +00:00
  • 25b9b07326 clean up Markéta Machová 2022-09-14 12:54:59 +00:00
  • 4b56b2d456 clean up Markéta Machová 2022-09-14 12:54:59 +00:00
  • f599fa790b ...and requires Markéta Machová 2022-09-14 12:51:38 +00:00
  • 47561966d9 ...and requires Markéta Machová 2022-09-14 12:51:38 +00:00
  • 49125dbb65 casing Markéta Machová 2022-09-13 07:07:23 +00:00
  • a6f40ec702 casing Markéta Machová 2022-09-13 07:07:23 +00:00
  • cffcaef68a Accepting request 1003019 from home:yarunachalam:branches:devel:languages:python Markéta Machová 2022-09-13 07:06:16 +00:00
  • 2624a7e198 Accepting request 1003019 from home:yarunachalam:branches:devel:languages:python Markéta Machová 2022-09-13 07:06:16 +00:00
  • a4fc99c752 Accepting request 991941 from devel:languages:python Dominique Leuenberger 2022-08-02 20:08:37 +00:00
  • e16a2ec4e2 Accepting request 991941 from devel:languages:python Dominique Leuenberger 2022-08-02 20:08:37 +00:00
  • e99e95e4a8 Accepting request 991886 from home:Simmphonie:branches:devel:languages:python Matej Cepl 2022-08-01 06:45:33 +00:00
  • 1eb9bb2e71 Accepting request 991886 from home:Simmphonie:branches:devel:languages:python Matej Cepl 2022-08-01 06:45:33 +00:00
  • 698518b8ad Accepting request 976285 from devel:languages:python Dominique Leuenberger 2022-05-12 20:58:14 +00:00
  • b406a584e8 Accepting request 976285 from devel:languages:python Dominique Leuenberger 2022-05-12 20:58:14 +00:00
  • 46ff097459 - update to 2.1.2: * The development server does not set `Transfer-Encoding: chunked for 1xx, 204, 304, and HEAD responses. :issue:2375 * Response HTML for exceptions and redirects starts with <!doctype html> and <html lang=en>. :issue:2390 * Fix ability to set some cache_control attributes to False. :issue:2379 * Disable keep-alive connections in the development server, which are not supported sufficiently by Python's http.server. :issue:2397` - drop 2402-dev_server.patch (upstream) Dirk Mueller 2022-05-11 10:41:49 +00:00
  • fc31d8ef54 - update to 2.1.2: * The development server does not set `Transfer-Encoding: chunked for 1xx, 204, 304, and HEAD responses. :issue:2375 * Response HTML for exceptions and redirects starts with <!doctype html> and <html lang=en>. :issue:2390 * Fix ability to set some cache_control attributes to False. :issue:2379 * Disable keep-alive connections in the development server, which are not supported sufficiently by Python's http.server. :issue:2397` - drop 2402-dev_server.patch (upstream) Dirk Mueller 2022-05-11 10:41:49 +00:00
  • 39911b3324 Accepting request 975271 from devel:languages:python Dominique Leuenberger 2022-05-08 19:52:23 +00:00
  • 9b0a7a2b4a Accepting request 975271 from devel:languages:python Dominique Leuenberger 2022-05-08 19:52:23 +00:00
  • 080d8db090 - Replace no-network-testing.patch with the upstream solution 2402-dev_server.patch from gh#pallets/werkzeug#2402. - Add moved_root.patch to make test test_exclude_patterns with different PYTHONPATH. Matej Cepl 2022-04-28 21:40:28 +00:00
  • 57c33b205c - Replace no-network-testing.patch with the upstream solution 2402-dev_server.patch from gh#pallets/werkzeug#2402. - Add moved_root.patch to make test test_exclude_patterns with different PYTHONPATH. Matej Cepl 2022-04-28 21:40:28 +00:00
  • 7a5f3e30ca Accepting request 970992 from devel:languages:python Dominique Leuenberger 2022-04-23 17:45:21 +00:00
  • 907925cb64 Accepting request 970992 from devel:languages:python Dominique Leuenberger 2022-04-23 17:45:21 +00:00
  • 3111f3adce Accepting request 970987 from home:mcepl:branches:devel:languages:python:flask Matej Cepl 2022-04-20 07:33:16 +00:00
  • 94df0efb39 Accepting request 970987 from home:mcepl:branches:devel:languages:python:flask Matej Cepl 2022-04-20 07:33:16 +00:00
  • 051c48b747 Accepting request 954652 from devel:languages:python Dominique Leuenberger 2022-02-16 23:29:56 +00:00
  • 8d488735b9 Accepting request 954652 from devel:languages:python Dominique Leuenberger 2022-02-16 23:29:56 +00:00
  • 79ecfff8c7 - update to 2.0.3: * `ProxyFix supports IPv6 addresses. * Type annotation for Response.make_conditional, HTTPException.get_response, and Map.bind_to_environ accepts Request in addition to WSGIEnvironment for the first parameter. * Fix type annotation for Request.user_agent_class. * Accessing LocalProxy.__class__ and __doc__ on an unbound proxy returns the fallback value instead of a method object. * Redirects with the test client set RAW_URI and REQUEST_URI` correctly. Dirk Mueller 2022-02-15 08:41:35 +00:00
  • e232954c95 - update to 2.0.3: * `ProxyFix supports IPv6 addresses. * Type annotation for Response.make_conditional, HTTPException.get_response, and Map.bind_to_environ accepts Request in addition to WSGIEnvironment for the first parameter. * Fix type annotation for Request.user_agent_class. * Accessing LocalProxy.__class__ and __doc__ on an unbound proxy returns the fallback value instead of a method object. * Redirects with the test client set RAW_URI and REQUEST_URI` correctly. Dirk Mueller 2022-02-15 08:41:35 +00:00
  • 30a199e816 Accepting request 925758 from devel:languages:python Dominique Leuenberger 2021-10-20 18:23:33 +00:00
  • 5278155679 Accepting request 925758 from devel:languages:python Dominique Leuenberger 2021-10-20 18:23:33 +00:00
  • e131e2a9d4 - update to 2.0.2: * Handle multiple tokens in `Connection header when routing WebSocket requests. * Set the debugger pin cookie secure flag when on https. * Fix type annotation for MultiDict.update to accept iterable values :pr:2142 * Prevent double encoding of redirect URL when merge_slash=True for Rule.match. * CombinedMultiDict.to_dict with flat=False considers all component dicts when building value lists. :issue:2189 * send_file only sets a detected Content-Encoding if as_attachment is disabled to avoid browsers saving decompressed .tar.gz files. * Fix type annotations for TypeConversionDict.get to not return an Optional value if both default and type are not None. * Fix type annotation for routing rule factories to accept Iterable[RuleFactory] instead of Iterable[Rule] for the rules parameter. :issue:2183 * Add missing type annotation for FileStorage.__getattr__ * The debugger pin cookie is set with SameSite set to Strict instead of None to be compatible with modern browser security. * Type annotations use IO[bytes] and IO[str] instead of BinaryIO and TextIO for wider type compatibility. * Ad-hoc TLS certs are generated with SAN matching CN. :issue:2158 * Fix memory usage for locals when using Python 3.6 or pre 0.4.17 greenlet versions. :pr:2212 * Fix type annotation in CallbackDict, because it is not utilizing a bound TypeVar. :issue:2235 * Fix setting CSP header options on the response. :pr:2237` Dirk Mueller 2021-10-16 21:22:24 +00:00
  • 06f100ab64 - update to 2.0.2: * Handle multiple tokens in `Connection header when routing WebSocket requests. * Set the debugger pin cookie secure flag when on https. * Fix type annotation for MultiDict.update to accept iterable values :pr:2142 * Prevent double encoding of redirect URL when merge_slash=True for Rule.match. * CombinedMultiDict.to_dict with flat=False considers all component dicts when building value lists. :issue:2189 * send_file only sets a detected Content-Encoding if as_attachment is disabled to avoid browsers saving decompressed .tar.gz files. * Fix type annotations for TypeConversionDict.get to not return an Optional value if both default and type are not None. * Fix type annotation for routing rule factories to accept Iterable[RuleFactory] instead of Iterable[Rule] for the rules parameter. :issue:2183 * Add missing type annotation for FileStorage.__getattr__ * The debugger pin cookie is set with SameSite set to Strict instead of None to be compatible with modern browser security. * Type annotations use IO[bytes] and IO[str] instead of BinaryIO and TextIO for wider type compatibility. * Ad-hoc TLS certs are generated with SAN matching CN. :issue:2158 * Fix memory usage for locals when using Python 3.6 or pre 0.4.17 greenlet versions. :pr:2212 * Fix type annotation in CallbackDict, because it is not utilizing a bound TypeVar. :issue:2235 * Fix setting CSP header options on the response. :pr:2237` Dirk Mueller 2021-10-16 21:22:24 +00:00
  • e70eee8c58 Accepting request 901104 from devel:languages:python Dominique Leuenberger 2021-07-10 20:53:40 +00:00
  • 6f54533741 Accepting request 901104 from devel:languages:python Dominique Leuenberger 2021-07-10 20:53:40 +00:00
  • cf0ac16ef7 Accepting request 901091 from home:stroeder:python Matej Cepl 2021-06-21 08:03:49 +00:00
  • 0003a8f4a1 Accepting request 901091 from home:stroeder:python Matej Cepl 2021-06-21 08:03:49 +00:00
  • a62e9cbf11 Accepting request 862678 from devel:languages:python Dominique Leuenberger 2021-01-14 14:04:50 +00:00
  • 24720e5f6e Accepting request 862678 from devel:languages:python Dominique Leuenberger 2021-01-14 14:04:50 +00:00
  • 407be53827 Accepting request 862676 from home:mcalabkova:branches:devel:languages:python Markéta Machová 2021-01-12 16:56:38 +00:00
  • f94eaa32c2 Accepting request 862676 from home:mcalabkova:branches:devel:languages:python Markéta Machová 2021-01-12 16:56:38 +00:00