Commit graph

19389 commits

Author SHA1 Message Date
taca
7873930571 www/Makefile: add and enable ruby-http-parser 2020-01-19 08:50:01 +00:00
taca
0c67e337d6 www/ruby-http-parser: add version 1.2.1 package
Add ruby-http-parser version 1.2.1 package.

# http-parser

Ruby FFI bindings to [http-parser](https://github.com/joyent/http-parser).
2020-01-19 08:49:21 +00:00
taca
68a66555b7 www/Makefile: add and enable ruby-http-accept 2020-01-19 08:23:48 +00:00
taca
5e06332b88 www/ruby-http-accept: add version 2.1.1 package
Add ruby-http-accept version 2.1.1 package.

# HTTP::Accept

Provides a robust set of parsers for dealing with HTTP Accept,
Accept-Language, Accept-Encoding, Accept-Charset headers.

## Motivation

I've been developing some tools for building RESTful endpoints and part of
that involved versioning.  After reviewing the options, I settled on using
the Accept: application/json;version=1 method as outlined here.

The version=1 part of the media-type is a parameter as defined by RFC7231
Section 3.1.1.1.  After reviewing several existing different options for
parsing the Accept: header, I noticed a disturbing trend: header.split(',').
Because parameters may contain quoted strings which contain commas, this is
clearly not an appropriate way to parse the header.

I am concerned about correctness, security and performance.  As such, I
implemented this gem to provide a simple high level interface for both
parsing and correctly interpreting these headers.
2020-01-19 08:23:06 +00:00
kim
87073399cb Mention CVE-2019-20372 in the patch file as well. 2020-01-19 07:42:42 +00:00
kim
4d9f03d01e Add patch from upstream to address CVE-2019-20372. Bump revision. 2020-01-19 07:28:36 +00:00
rillig
b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00
jperkin
26c1bffc9f *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:19 +00:00
nia
0f6e9cf269 gitea: Update to 1.10.3
## [1.10.3](https://github.com/go-gitea/gitea/releases/tag/v1.10.3) - 2020-01-17
* SECURITY
  * Hide credentials when submitting migration (#9102) (#9704)
  * Never allow an empty password to validate (#9682) (#9684)
  * Prevent redirect to Host (#9678) (#9680)
  * Hide public repos owned by private orgs (#9609) (#9616)
* BUGFIXES
  * Allow assignee on Pull Creation when Issue Unit is deactivated (#9836) (#9838)
  * Fix download file wrong content-type (#9825) (#9835)
  * Fix wrong identify poster on a migrated pull request when submit review (#9827) (#9831)
  * Fix dump non-exist log directory (#9818) (#9820)
  * Fix compare (#9808) (#9815)
  * Fix missing msteam webhook on organization (#9781) (#9795)
  * Fix add team on collaborator page when same name as organization (#9783)
  * Fix cache problem on dashboard (#9358) (#9703)
  * Send tag create and push webhook when release created on UI (#8671) (#9702)
  * Branches not at ref commit ID should not be listed as Merged (#9614) (#9639)
2020-01-18 15:33:09 +00:00
nia
f3b1ccd463 firefox: Remove remaining traces of OSS support.
We no longer patch this in but it's still searching for the files if
you're using something FreeBSDish or Linuxish. This should resolve build
problems on these platforms.

On NetBSD this problem never appeared because it's been using native audio
instead of OSS for a while now.

from Michael Forney in PR pkg/54868
2020-01-18 15:32:40 +00:00
pho
c8646e4bee Add hs-http-client-tls 2020-01-17 15:18:37 +00:00
pho
f2ad791ce1 Import http-client-tls-0.3.5.3
Support for making connections via the connection package and, in
turn, the tls package suite.
2020-01-17 15:17:55 +00:00
pho
30898bd858 Add hs-http-client 2020-01-16 13:38:02 +00:00
pho
c7f1a105a9 Import http-client-0.6.4
An HTTP client engine, intended as a base layer for more user-friendly
packages.

This codebase has been refactored from http-conduit.

Note that, if you want to make HTTPS secure connections, you should
use http-client-tls in addition to this library.
2020-01-16 13:37:14 +00:00
nia
f0d8e65861 www: Add firefox-esr
This package has an explicit dependency on the latest Extended Support
Release version of the Mozilla Firefox web browser. In case there are multiple
versions available, this package points to the most recent available version.

It is intended to allow easy upgrades to the most recent ESR release.
2020-01-15 20:42:10 +00:00
pho
128680431e Add hs-http-types 2020-01-15 18:14:37 +00:00
pho
09e9b800e1 Import http-types-0.12.3 from wip
Generic HTTP types for Haskell (for both client and server code).
2020-01-15 18:14:05 +00:00
pho
08a0224c6e Add hs-cookie 2020-01-15 16:56:25 +00:00
pho
ad3d4ed2b5 Import cookie-0.4.5
HTTP cookie parsing and rendering
2020-01-15 16:55:54 +00:00
ryoon
84d2934e05 firefox: Allow hardware acceleration up to 4K UHD resolution
Bump PKGREVISION.
2020-01-15 10:50:37 +00:00
adam
84bf84d172 py-httpx: updated to 0.11.0
0.11.0:

The 0.11 release reintroduces our sync support, so that `httpx` now supports both a standard thread-concurrency API, and an async API.

Existing async `httpx` users that are upgrading to 0.11 should ensure that:

* Async codebases should always use a client instance to make requests, instead of the top-level API.
* The async client is named as `httpx.AsyncClient()`, instead of `httpx.Client()`.
* When instantiating proxy configurations use the `httpx.Proxy()` class, instead of the previous `httpx.HTTPProxy()`. This new configuration class works for configuring both sync and async clients.

We believe the API is now pretty much stable, and are aiming for a 1.0 release sometime on or before April 2020.

Changed
- Top level API such as `httpx.get(url, ...)`, `httpx.post(url, ...)`, `httpx.request(method, url, ...)` becomes synchronous.
- Added `httpx.Client()` for synchronous clients, with `httpx.AsyncClient` being used for async clients.
- Switched to `proxies=httpx.Proxy(...)` for proxy configuration.
- Network connection errors are wrapped in `httpx.NetworkError`, rather than exposing lower-level exception types directly.

Removed
- The `request.url.origin` property and `httpx.Origin` class are no longer available.
- The per-request `cert`, `verify`, and `trust_env` arguments are escalated from raising errors if used, to no longer being available. These arguments should be used on a per-client instance instead, or in the top-level API.
- The `stream` argument has escalated from raising an error when used, to no longer being available. Use the `client.stream(...)` or `httpx.stream()` streaming API instead.

Fixed
- Redirect loop detection matches against `(method, url)` rather than `url`.
2020-01-14 16:10:53 +00:00
adam
766e3d7201 py-paste: updated to 3.2.6
3.2.6:
* Correctly handle HEAD requests (to send empty body) when gzip
  encoding requested.

3.2.4
* Use is_alive instead of isAlive for Python 3.9 compatibility.
* Use encodebytes instead of deprecated encodestring.
* Fix Python 2 and 3 compatibility for base64.
2020-01-14 16:07:22 +00:00
adam
47f6b0c50a py-test-django: updated to 3.8.0
3.8.0:
* Make Django's assertion helpers available in pytest_django.asserts.
* Report django-configurations setting
2020-01-14 16:05:04 +00:00
ryoon
8a88a65ae9 apache-tomcat9: Update to 9.0.30
Changelog:
Tomcat 9.0.30 (markt)
Catalina

    Add: 63681: Introduce RealmBase#authenticate(GSSName, GSSCredential) and friends. (michaelo)
    Fix: 63964: Correct a regression in the static resource caching changes introduced in 9.0.28. URLs constructed from URLs obtained from the cache could not be used to access resources. (markt)
    Fix: 63970: Correct a regression in the static resource caching changes introduced in 9.0.28. Connections to URLs obtained for JAR resources could not be cast to JarURLConnection. (markt)
    Add: 63937: Add a new attribute to the standard Authenticator implementations, allowCorsPreflight, that allows the Authenticators to be configured to allow CORS preflight requests to bypass authentication as required by the CORS specification. (markt)
    Fix: 63939: Correct the same origin check in the CORS filter. An origin with an explicit default port is now considered to be the same as an origin without a deafult port and origins are now compared in a case-sensitive manner as required by the CORS specification. (markt)
    Fix: 63981: Allow multiple calls to Registry.disableRegistry() without the second and subsequent calls triggering the logging of a warning. Based on a patch by Andy Wilkinson. (markt)
    Fix: 63982: CombinedRealm makes assumptions about principal implementation (michaelo)
    Fix: 63983: Correct a regression in the static resource caching changes introduced in 9.0.28. A large number of file descriptors were opened that could reach the OS limit before being released by GC. (markt)
    Update: 63987: Deprecate Realm.getRoles(Principal). (michaelo)
    Code: Add a unit test for the session FileStore implementation and refactor loops in FileStore to use the ForEach style. Pull request provided by Govinda Sakhare. (markt)
    Update: Moved server-side include (SSI) module into a separate JAR library. (schultz)
    Fix: Refactor FORM authentication to reduce duplicate code and to ensure that the authenticated Principal is not cached in the session when caching is disabled. (markt)

Coyote

    Fix: Fix endpoint closeSocket and destroySocket discrepancies, in particular in the APR connector. (remm)
    Fix: Harmonize maxConnections default value to 8192 across all connectors. (remm)
    Fix: 63931: Improve timeout handling for asyncIO to ensure that blocking operations see a SocketTimeoutException if one occurs. (remm/markt)
    Fix: 63932: By default, do not compress content that has a strong ETag. This behaviour is configuration for the HTTP/1.1 and HTTP/2 connectors via the new Connector attribute noCompressionStrongETag. (markt)
    Fix: 63949: Fix non blocking write problems with NIO due to the need for a write loop. (remm)
    Fix: Simplify regular endpoint writes by removing write(Non)BlockingDirect. All regular writes will now be buffered for a more predictable behavior. (remm)
    Fix: Send an exception directly to the completion handler when a timeout exception occurs for the operation, and add a boolean to make sure the completion handler is called only once. (remm/markt)

WebSocket

    Fix: Ensure a couple of very unlikely concurrency issues are avoided when writing WebSocket messages. (markt)

Web applications

    Fix: Fix the broken re-try link on the error page for the FORM authentication example in the JSP section of the examples web application. (markt)
    Add: Improvements to CsrfPreventionFilter: additional logging, allow the CSRF nonce request parameter name to be customized. (schultz)
    Fix: Correct the documentation for the maxConnections attribute of the Connector in the documentation web application. (markt)
    Add: Add the ability to set and display session attributes in the JSP FORM authentication example to demonstrate session persistence across restarts for authenticated sessions. (markt)

Other

    Fix: Correct the fix for 63815 (quoting the use of CATALINA_OPTS and JAVA_OPTS when used in shell scripts to avoid the expansion of *) as it caused various regressions, particularly with daemon.sh. (markt)
    Update: Update the OWB module to Apache OpenWebBeans 2.0.13. (remm)
    Update: Support Java 11 in Graal Native Images with Graal 19.3+. (remm)
    Add: Expand the search made by the Windows installer for a suitable Java installation to include the 64-bit JDK registry entries and the JAVA_HOME environment variable. Pull request provided by Alexander Norz. (markt)
    Add: Expand the coverage of the Korean translations provided with Apache Tomcat. (woonsan)
    Add: Expand the coverage of the French translations provided with Apache Tomcat. (remm)
    Add: Expand the coverage of the Chinese translations provided with Apache Tomcat. Contributions provided by lins and 磊. (markt)
    Add: Update the internal fork of Apache Commons BCEL to ff6941e (2019-12-06, 6.4.2-dev). Code clean-up only. (markt)
    Add: Update the internal fork of Apache Commons Codec to 9637dd4 (2019-12-06, 1.14-SNAPSHOT). Code clean-up and a fix for CODEC-265. (markt)
    Add: Update the internal fork of Apache Commons FileUpload to 2317552 (2019-12-06, 2.0-SNAPSHOT). Refactoring. (markt)
    Add: Update the internal fork of Apache Commons Pool 2 to 6092f92 (2019-12-06, 2.8.0-SNAPSHOT). Clean-up and minor refactoring. (markt)
    Add: Update the internal fork of Apache Commons DBCP 2 to a36390 (2019-12-06, 2.7.1-SNAPSHOT). Minor refactoringremote RMI registry creation. (remm)
    Add: Improvement to CsrfPreventionFilter: expose the latest available nonce as a request attribute; expose the expected nonce request parameter name as a context attribute. (schultz)

Coyote

    Add: 63835: Add suormance of the HTTP and AJP connectors if socket.txBufSize is configured with an explicit value rather than using the JVM default. (markt)

Other

    Fix: Improve OWB module based using custom shade appender. (remm)
    Fix: Add security filter in OWB mo error occurs on stop. (remm)
    Add: Add more details on the usage of RewriteMap functionality in the RewriteValve. (fschumacher)
    Fix: 63836 Ensure that references to the Host object are cleared once the Host instance is destroyed. (markt)
    Fix:  static files (including JSP files) goes via the cache so that a consistent view of the static files is seen. Prior to this change it was possible to see an updated last modified time but the content would be that prior to the modification. (markt)
    Update: 63905 Clean up Tomcat CSS. (michaelo)
    Fix: 63909: When the ExpiresFilter is used without a default and the response is served by the Default Servlet, ensure that the filter processes the response if the Default Servlet sets a 304 (Not Found) status code. (markt)

Coyote

    Fix: Ensure that ServletRequest.isAsyncStarted() returns false once AsyncContext.complete() or AsyncContext.dispatch() has been called during AsyncListener.onTimeout() or AsyncListener.onError(). (markt)
    Fix: 63816 and 63817: Correctly handle I/O errors after asynchronous processing has been started but before the container thread that started asynchronous processing has completed processing the current request/response. (markt)
    Fix: 63825: When processing the Expect and Connection HTTP headers looking for a specific token, be stricter in ensuring that the exact token is present. (markt)
    Fix: 63829: Improve the check of the Content-Encoding header when looking to see if Tomcat is serving pre-compressed content. Ensure that only a full token is matched and that the match is case insensitive. (markt)
    Fix: 63864: Refactor parsing of the transfer-encoding request header to use the shared parsing code and reduce duplication. (markt)
    Fix: 63865: Add Unset option to same-site cookies and pass through None value if set by user. Patch provided by John Kelly. (markt)
    Fix: 63879: Remove stack trace from debug logging on socket wrapper close. (remm)
    Update: Add connection tracking on the connector endpoint to remove excessive concurrency in the protocol handler when maintaining an association between the socket wrapper and its current processor. (remm)
    Fix: 63894: Ensure that the configured values for certificateVerification and certificateVerificationDepth are correctly passed to the OpenSSL based SSLEngine implementation. (remm/markt)
    Fix: Improve cleanup after errors when setting socket options. (remm)
    Fix: Do not perform a blocking read after a CPING message is received by the AJP connector because, if the JK Connector is configured with ping_mode="I", the CPING message will not always be followed by the start of a request. (markt)
    Fix: Properly calculate all dynamic parts of the ErrorReportValve response on the fly in org.apache.coyote.http2.TestHttp2InitialConnection. (michaelo)

Jasper

    Fix: 63897: Capture the timestamp of a JSP for the purposes of modification tracking before the JSP is compiled to prevent a race condition if the JSP is modified during compilation. Patch provided by Karl von Randow. (markt)
    Fix: Fix a race condition that could mean changes to a modified JSP were not visible to end users. (markt)

WebSocket

    Fix: 63913: Wrap any NullPointerExceptions throw by the Inflater or Deflater used by the PerMessageDeflate extension in an IOException so that the error can be caught and handled by the WebSocket error handling mechanism. (markt)

Web applications

    Fix: Correct the description of the default value for the server attribute in the security How-To. (markt)

Other

    Fix: 63815: Quote the use of CATALINA_OPTS and JAVA_OPTS when used in shell scripts to avoid the expansion of *. Note that any newlines present in CATALINA_OPTS and/or JAVA_OPTS will no longer removed. (markt)
    Fix: 63826: Remove commons-daemon-native.tar.gz and tomcat-native.tar.gz from the binary zip distributions for Windows since compiled versions of those components are already included within the zip distributions. (markt)
    Fix: 63838: Suppress reflexive access warnings when running the unit tests on the command line. (markt)
    Fix: Add missing charsets from the HPE JVM on HP-UX to pass unit tests in org.apache.tomcat.util.buf.TestCharsetCache. (michaelo)
    Update: Update the CXF module to Apache CXF 3.3.4. (remm)
    Add: Expand the coverage and quality of the French translations provided with Apache Tomcat. (remm)
    Add: Expand the coverage and quality of the Japanese translations provided with Apache Tomcat. Patch provided by motohashi.yuki. (markt)
    Add: Expand the coverage and quality of the Simplified Chinese translations provided with Apache Tomcat. Contributions provided by rpo130, Mason Shen, leeyazhou, winsonzhao, qingshi huang, Lay, Shucheng Hou and Yanming Zhou. (markt)
    Add: Expand the coverage and quality of the Brazilian Portuguese translations provided with Apache Tomcat. Patch provided by Danielamorais. (markt)

2019-10-11 Tomcat 9.0.27 (markt)
Catalina

    Fix: Correct a regression introduced in 9.0.25 that prevented configuration files from being loaded from the class path. (markt)

Coyote

    Fix: Use URL safe base 64 encoding rather than standard base 64 encoding when generating or parsing the HTTP2-Settings header as part of an HTTP upgrade to h2c as required by RFC 7540. (markt)
    Fix: 63765: NIO2 should try to unwrap after TLS handshake to avoid edge cases. (remm)
    Fix: 63766: Ensure Processor objects are recycled when processing an HTTP upgrade connection that terminates before processing switches to the Processor for the upgraded protocol. (markt)
    Fix: Fix a memory leak introduced by the HTTP/2 timeout refactoring in 9.0.23 that could occur when HTTP/2 or WebSocket was used. (markt)

Jasper

    Update: Update to the Eclipse JDT compiler 4.13. (markt)
    Fix: Add GraalVM specific ELResolver to avoid BeanInfo use in BeanElResolver if possible, as it needs manual reflection configuration. (remm)
    Fix: 63781: When performing various checks related to the visibility of classes, fields an methods in the EL implementation, also check that the containing module has been exported. (markt)

Web Socket

    Fix: 63753: Ensure that the Host header in a Web Socket HTTP upgrade request only contains a port if a non-default port is being used. (markt)
    Fix: When running on Java 9 and above, don't attempt to instantiate WebSocket Endpoints found in modules that are not exported. (markt)

Web Applications

    Add: Add base GraalVM documentation. (remm)
    Add: Add Javadoc for the Common Annotations API implementation. (markt)
    Fix: Correct various typos in the comments, error messages and Javadoc. Patch provided by 康智冬. (markt)

jdbc-pool

    Fix: When connections are validated without an explicit validation query, ensure that any transactions opened by the validation process are committed. Patch provided by Pascal Davoust. (markt)

Other

    Code: Deprecate org.apache.tomcat.util.compat.TLS. Its functionality was only used for unit tests in org.apache.tomcat.util.net.TesterSupport and has been moved there. (rjung)
    Fix: 63759: When installing Tomcat with the Windows installer, grant sufficient privileges to enable the uninstaller to execute when user account control is active. (markt)
    Add: Use a build property to define the minimum supported Java version and use that build property to reduce the number of edits required to update the minimum supported Java version. (markt)
    Update: Update the OWB module to Apache OpenWebBeans 2.0.12. (remm)
    Update: Update the CXF module to Apache CXF 3.3.3. (remm)
    Update: 63767: Update to Commons Daemon 1.2.2. This corrects a regression in Commons Daemon 1.2.0 and 1.2.1 that caused the Windows Service to crash on start when running on an operating system that had not been fully updated. (markt)
2020-01-13 07:48:10 +00:00
ryoon
f3a0dc7657 apache-tomcat85: Update to 8.5.50
Changelog:
Tomcat 8.5.50 (markt)
Catalina

    Add: Improvements to CsrfPreventionFilter: additional logging, allow the CSRF nonce request parameter name to be customized. (schultz)
    Add: 63681: Introduce RealmBase#authenticate(GSSName, GSSCredential) and friends. (michaelo)
    Fix: 63964: Correct a regression in the static resource caching changes introduced in 9.0.28. URLs constructed from URLs obtained from the cache could not be used to access resources. (markt)
    Fix: 63968: Fix ClassCastException in the Expires filter which was a regression in the fix for 63909. (markt)
    Fix: 63970: Correct a regression in the static resource caching changes introduced in 9.0.28. Connections to URLs obtained for JAR resources could not be cast to JarURLConnection. (markt)
    Add: 63937: Add a new attribute to the standard Authenticator implementations, allowCorsPreflight, that allows the Authenticators to be configured to allow CORS preflight requests to bypass authentication as required by the CORS specification. (markt)
    Fix: 63939: Correct the same origin check in the CORS filter. An origin with an explicit default port is now considered to be the same as an origin without a deafult port and origins are now compared in a case-sensitive manner as required by the CORS specification. (markt)
    Fix: 63982: CombinedRealm makes assumptions about principal implementation (michaelo)
    Fix: 63983: Correct a regression in the static resource caching changes introduced in 9.0.28. A large number of file descriptors were opened that could reach the OS limit before being released by GC. (markt)
    Update: 63987: Deprecate Realm.getRoles(Principal). (michaelo)
    Code: Add a unit test for the session FileStore implementation and refactor loops in FileStore to use the ForEach style. Pull request provided by Govinda Sakhare. (markt)
    Fix: Refactor FORM authentication to reduce duplicate code and to ensure that the authenticated Principal is not cached in the session when caching is disabled. (markt)

Coyote

    Code: Refactor the APR poller to always use a single pollset now that the Windows operating systems that required multiple smaller pollsets to be used are no longer supported. (markt)
    Update: Add vectoring for NIO in the base and SSL channels. (remm)
    Add: Add async API to the NIO and APR connector. (remm)
    Fix: 63931: Improve timeout handling for asyncIO to ensure that blocking operations see a SocketTimeoutException if one occurs. (remm/markt)
    Fix: 63932: By default, do not compress content that has a strong ETag. This behaviour is configuration for the HTTP/1.1 and HTTP/2 connectors via the new Connector attribute noCompressionStrongETag. (markt)
    Fix: Simplify regular endpoint writes by removing write(Non)BlockingDirect. All regular writes will now be buffered for a more predictable behavior. (remm)
    Fix: Send an exception directly to the completion handler when a timeout exception occurs for the operation, and add a boolean to make sure the completion handler is called only once. (remm/markt)

WebSocket

    Fix: Ensure a couple of very unlikely concurrency issues are avoided when writing WebSocket messages. (markt)

Web applications

    Fix: Fix the broken re-try link on the error page for the FORM authentication example in the JSP section of the examples web application. (markt)
    Fix: Correct the documentation for the maxConnections attribute of the Connector in the documentation web application. (markt)
    Add: Add the ability to set and display session attributes in the JSP FORM authentication example to demonstrate session persistence across restarts for authenticated sessions. (markt)

Other

    Fix: Correct the fix for 63815 (quoting the use of CATALINA_OPTS and JAVA_OPTS when used in shell scripts to avoid the expansion of *) as it caused various regressions, particularly with daemon.sh. (markt)
    Add: Expand the search made by the Windows installer for a suitable Java installation to include the 64-bit JDK registry entries and the JAVA_HOME environment variable. Pull request provided by Alexander Norz. (markt)
    Add: Expand the coverage of the German translations provided with Apache Tomcat. Contribution provided by Jens. (markt)
    Add: Expand the coverage of the French translations provided with Apache Tomcat. (remm)
    Add: Expand the coverage of the Japanese translations provided with Apache Tomcat. (markt)
    Add: Expand the coverage of the Korean translations provided with Apache Tomcat. (woonsan)
    Add: Expand the coverage of the Chinese translations provided with Apache Tomcat. Contributions provided by lins and 磊. (markt)
    Add: Update the internal fork of Apache Commons BCEL to ff6941e (2019-12-06, 6.4.2-dev). Code clean-up only. (markt)
    Add: Update the internal fork of Apache Commons Codec to 9637dd4 (2019-12-06, 1.14-SNAPSHOT). Code clean-up and a fix for CODEC-265. (markt)
    Add: Update the internal fork of Apache Commons FileUpload to 2317552 (2019-12-06, 2.0-SNAPSHOT). Refactoring. (markt)
    Add: Update the internal fork of Apache Commons Pool 2 to 6092f92 (2019-12-06, 2.8.0-SNAPSHOT). Clean-up and minor refactoring. (markt)
    Add: Update the internal fork of Apache Commons DBCP 2 to a36390 (2019-12-06, 2.7.1-SNAPSHOT). Minor refactoring. (markt)

2019-11-21 Tomcat 8.5.49 (markt)
Catalina

    Fix: Correption when using a RequestDispatcher. (markt)
    Add: Improvement to CsrfPreventionFilter: expose the latest available nonce as a request attribute; expose the expected nonce request parameter name as a context attribute. (schultz)

not released Tomcat 8 63872: Fix some edge cases where the docBase was not being set using a canonical path which in turn meant resource URLs were not being constructed as expected. (markt)
    Fix: Make a best effort attempt to clean-up if a request fails during processing dle to see an updated last modified time but the content would be that prior to the modification. (markt)
    Update: 63905 Clean up Tomcat CSS. (michaelo)
    Fix: 63909: When the ExpiresFilter is used without a default and the response is served by the D sets a 304 (Not Found) status code. (markt)
    Fix: Update the Servlet 4 preview API to reflect changes made to the API in the final release. Note that this preview API has been deprecated for over a year and may be removed as soon as the next 8.5.x release. (markt)
    Fix: Refactor JMX remote RMI registry creation. (remm)

Coyote

    Fix: Ensure that ServletRequest.isAsyncStarted() returns false once AsyncContext.complete() or AsyncContext.dispatch() has been called during AsyncListener.onTimeout() or AsyncListener.onError(). (markt)
    Fix: 63816 and 63817: Correctly handle I/O errors after asynchronous processing has been started but before the container thread that started asynchronous processing has completed processing the current request/response. (markt)
    Fix: 63825: When processing the Expect and Connection HTTP headers looking for a specific token, be stricter in ensuring that the exact token is present. (markt)
    Fix: 63829: Improve the check of the Content-Encoding header when looking to see if Tomcat is serving pre-compressed content. Ensure that only a full token is matched and that the match is case insensitive. (markt)
    Add: 63835: Add support for Keep-Alive response header. (michaelo)
    Fix: 63864: Refactor parsing of the transfer-encoding request header to use the shared parsing code and reduce duplication. (markt)
    Fix: 63865: Add Unset option to same-site cookies and pass through None value if set by user. Patch provided by John Kelly. (markt)
    Fix: 63894: Ensure that the configured values for certificateVerification and certificateVerificationDepth are correctly passed to the OpenSSL based SSLEngine implementation. (remm/markt)
    Fix: Do not perform a blocking read after a CPING message is received by the AJP connector because, if the JK Connector is configured with ping_mode="I", the CPING message will not always be followed by the start of a request. (markt)
    Fix: Properly calculate all dynamic parts of the ErrorReportValve response on the fly in org.apache.coyote.http2.TestHttp2InitialConnection. (michaelo)

Jasper

    Fix: 63897: Capture the timestamp of a JSP for the purposes of modification tracking before the JSP is compiled to prevent a race condition if the JSP is modified during compilation. Patch provided by Karl von Randow. (markt)
    Fix: Fix a race condition that could mean changes to a modified JSP were not visible to end users. (markt)

WebSocket

    Fix: 63913: Wrap any NullPointerExceptions throw by the Inflater or Deflater used by the PerMessageDeflate extension in an IOException so that the error can be caught and handled by the WebSocket error handling mechanism. (markt)

Web applications

    Fix: Correct the description of the default value for the server attribute in the security How-To. (markt)

Other

    Fix: 63815: Quote the use of CATALINA_OPTS and JAVA_OPTS when used in shell scripts to avoid the expansion of *. Note that any newlines present in CATALINA_OPTS and/or JAVA_OPTS will no longer removed. (markt)
    Fix: 63826: Remove commons-daemon-native.tar.gz and tomcat-native.tar.gz from the binary zip distributions for Windows since compiled versions of those components are already included within the zip distributions. (markt)
    Fix: 63838: Suppress reflexive access warnings when running the unit tests on the command line. (markt)
    Fix: Add missing charsets from the HPE JVM on HP-UX to pass unit tests in org.apache.tomcat.util.buf.TestCharsetCache. (michaelo)
    Add: Expand the coverage and quality of the French translations provided with Apache Tomcat. (remm)
    Add: Expand the coverage and quality of the Korean translations provided with Apache Tomcat. (woonsan)
    Add: Expand the coverage and quality of the Simplified Chinese translations provided with Apache Tomcat. Contributions provided by rpo130, Mason Shen, leeyazhou, winsonzhao, qingshi huang, Lay, Shucheng Hou and Yanming Zhou. (markt)

2019-10-11 Tomcat 8.5.47 (markt)
Coyote

    Fix: Use URL safe base 64 encoding rather than standard base 64 encoding when generating or parsing the HTTP2-Settings header as part of an HTTP upgrade to h2c as required by RFC 7540. (markt)
    Fix: 63765: NIO2 should try to unwrap after TLS handshake to avoid edge cases. (remm)
    Fix: 63766: Ensure Processor objects are recycled when processing an HTTP upgrade connection that terminates before processing switches to the Processor for the upgraded protocol. (markt)

Jasper

    Fix: 63781: When performing various checks related to the visibility of classes, fields and methods in the EL implementation, also check that the containing module has been exported. (markt)

Web Socket

    Fix: 63753: Ensure that the Host header in a Web Socket HTTP upgrade request only contains a port if a non-default port is being used. (markt)
    Fix: When running on Java 9 and above, don't attempt to instantiate WebSocket Endpoints found in modules that are not exported. (markt)

Web Applications

    Docs: Add Javadoc for the Common Annotations API implementation. (markt)

jdbc-pool

    Fix: When connections are validated without an explicit validation query, ensure that any transactions opened by the validation process are committed. Patch provided by Pascal Davoust. (markt)

Other

    Code: Deprecate org.apache.tomcat.util.compat.TLS. Its functionality was only used for unit tests in org.apache.tomcat.util.net.TesterSupport and has been moved there. (rjung)
    Fix: 63759: When installing Tomcat with the Windows installer, grant sufficient privileges to enable the uninstaller to execute when user account control is active. (markt)
    Add: Use a build property to define the minimum supported Java version and use that build property to reduce the number of edits required to update the minimum supported Java version. (markt)
    Update: 63767: Update to Commons Daemon 1.2.2. This corrects a regression in Commons Daemon 1.2.0 and 1.2.1 that caused the Windows Service to crash on start when running on an operating system that had not been fully updated. (markt)
2020-01-13 07:45:20 +00:00
ryoon
3f6a6845e9 apache-tomcat7: Update to 7.0.99
Changelog:
Tomcat 7.0.99 (violetagg)

    Catalina

        add	63681: Introduce RealmBase#authenticate(GSSName, GSSCredential) and friends. (michaelo)
        add	63937: Add a new attribute to the standard Authenticator implementations, allowCorsPreflight, that allows the Authenticators to be configured to allow CORS preflight requests to bypass authentication as required by the CORS specification. (markt)
        fix	63939: Correct the same origin check in the CORS filter. An origin with an explicit default port is now considered to be the same as an origin without a default port and origins are now compared in a case-sensitive manner as required by the CORS specification. (markt)
        fix	63950: Fix timing issue in TestAsyncContextStateChanges test that caused it to hang indefinitely. (markt)
        fix	63982: CombinedRealm makes assumptions about principal implementation (michaelo)
        code	Add a unit test for the session FileStore implementation and refactor loops in FileStore to use the ForEach style. Pull request provided by Govinda Sakhare. (markt)
        fix	Refactor FORM authentication to reduce duplicate code and to ensure that the authenticated Principal is not cached in the session when caching is disabled. (markt)
        update	Do not store username and password as session notes during authentication if they are not needed. (kkolinko)

    Coyote

        fix	63932: By default, do not compress content that has a strong ETag. This behaviour is configuration for the HTTP/1.1 connectors via the new Connector attribute noCompressionStrongETag. (markt)

    WebSocket

        fix	Ensure a very unlikely concurrency issue is avoided when writing WebSocket messages. (markt)

    Web applications

        add	Add the ability to set and display session attributes in the JSP FORM authentication example to demonstrate session persistence across restarts for authenticated sessions. (markt)

    Other

        fix	Correct the fix for 63815 (quoting the use of CATALINA_OPTS and JAVA_OPTS when used in shell scripts to avoid the expansion of *) as it caused various regressions, particularly with daemon.sh. (markt)
        add	Expand the search made by the Windows installer for a suitable Java installation to include the 64-bit JDK registry entries and the JAVA_HOME environment variable. Pull request provided by Alexander Norz. (markt)
        add	Expand the coverage of the German translations provided with Apache Tomcat. Contribution provided by Jens. (markt)
        add	Expand the coverage of the French translations provided with Apache Tomcat. (remm)
        add	Expand the coverage of the Japanese translations provided with Apache Tomcat. (markt)
        add	Expand the coverage of the Korean translations provided with Apache Tomcat. (woonsan)
        add	Expand the coverage of the Chinese translations provided with Apache Tomcat. Contributions provided by lins and 磊. (markt)
        add	Update the internal fork of Apache Commons BCEL to ff6941e (2019-12-06, 6.4.2-dev). Code clean-up only. (markt)
        add	Update the internal fork of Apache Commons Codec to 9637dd4 (2019-12-06, 1.14-SNAPSHOT). Code clean-up and a fix for CODEC-265. (markt)
        add	Update the internal fork of Apache Commons FileUpload to 2317552 (2019-12-06, 2.0-SNAPSHOT). Refactoring. (markt)

Tomcat 7.0.98 (violetagg)	not released

    Catalina

        fix	63832: Properly mark container as FAILED when a JVM error occurs on stop. (remm)
        fix	Make a best efforts attempt to clean-up if a request fails during processing due to an OutOfMemoryException. (markt)
        update	63905 Clean up Tomcat CSS. (michaelo)
        fix	Refactor JMX remote RMI registry creation. (remm)

    Coyote

        fix	63814: Do not set server socket timeout with negative values in NIO. (remm)
        fix	Ensure that ServletRequest.isAsyncStarted() returns false once AsyncContext.complete() or AsyncContext.dispatch() has been called during AsyncListener.onTimeout() or AsyncListener.onError(). (markt)
        fix	63816 and 63817: Correctly handle I/O errors after asynchronous processing has been started but before the container thread that started asynchronous processing has completed processing the current request/response. (markt)
        fix	63825: When processing the Expect and Connection HTTP headers looking for a specific token, be stricter in ensuring that the exact token is present. (markt)
        fix	63829: Improve the check of the Content-Encoding header when looking to see if Tomcat is serving pre-compressed content. Ensure that only a full token is matched and that the match is case insensitive. (markt)
        fix	63836: Ensure that the memory reserved for the OOME parachute is released when the NIO endpoint is stopped. (markt)
        fix	63864: Refactor parsing of the transfer-encoding request header to use the shared parsing code and reduce duplication. (markt)
        code	Refactor the APR poller to always use a single pollset now that the Windows operating systems that required multiple smaller pollsets to be used are no longer supported. (markt)

    Jasper

        fix	63897: Capture the timestamp of a JSP for the purposes of modification tracking before the JSP is compiled to prevent a race condition if the JSP is modified during compilation. Patch provided by Karl von Randow. (markt)
        fix	Fiible to end users. (markt)

    WebSocket

        fix	63913: Wrap any NullPointerExceptions throw by the Inflater or Deflater used by the PerMessageDeflate extension in an IOException so that the error can be caught and handled by the WebSocket error hanion web application. (markt)

    Other

        fix	63815: Quote the use of CATALINA_OPTS and JAVA_OPTS when used in shell scripts to avoid the expansion of *. Note that any newlines present in CATALINA_OPTS and/or JAVA_OPTS will no longer removed. (marke generification of the copied Commons DBCP 1.x code that caused a NullPointerException if a DataSource was configured with a database that did not exist. Patch provided by Guoxiong Li. (markt)
        fix	63838: Suppress reflexive access warnings when ruhe French translations provided with Apache Tomcat. (remm)
        add	Expand the coverage and quality of the Korean translations provided with Apache Tomcat. (woonsan)
        add	Expand the coverage and quality of the Simplified Chinese translations proeader to the RemoteIpFilter and RemoteIpValve. (markt)
        add	62496: Add option to write auth information (remote user/auth type) to response headers. (michaelo)
        fix	63550: Only try the alternateURL in the JNDIRealm if one has been specified.    update	63627: Implement more fine-grained handling in RealmBase.authenticate(GSSContext, boolean). (michaelo)
        fix	Avoid a NullPointerException in the CrawlerSessionManagerValve if no ROOT Context is deployed and a request does not map to any of the other deployed Contexts. Patch provided by Jop Zinkweg. (markt)
        fix	63636: Context.findRoleMapping() never called in StandardWrapper.findSecurityReference(). (michaelo)
        fix	Fix a crash on shutdown with the APR/native connector when a blocking I/O operation was still in progress when the connector stopped. (markt)
        fix	63684: Wrapper never passed to RealmBase.hasRole() for given security constraints. (michaelo)
        fix	Avoid a potential NullPointerException on Service stop if a Service is embedded directly (i.e. with no Server) in an application and JNDI is enabled. Patch provided by S. Ali Tokmen. (markt)
        add	Add a new PropertySource implementation, EnvironmentPropertySource, that can be used to do property replacement in configuration files with environment variables. Based on a pull request provided by Thomas Meyer. (markt)
        fix	63758: Include the XML schema for the tomcat-users.xml file in the binary distributions. (markt)
        fix	63778: When running on Java 7, use the correct signature to look up the DatabaseMetaData.getPseudoColumns() method and avoid the NullPointerExceptions caused by using the wrong method. Add error logging to detect similar bugs. Based on a pull request by liguoxiong. (markt)

    Coyote

        fix	63571: Use the implementation default for JSSE TLS session cache size. (markt)
        fix	63578: Improve handling of invalid requests so that 400 responses are returned to the client rather than 500 responses. (markt)
        code	Remove the code in the sendfile poller that ensured smaller pollsets were used with older, no longer supported versions of Windows that could not support larger pollsets. (markt)
        fix	63737: Correct various issues when parsing the accept-encoding header to determine if gzip encoding is supported including only parsing the first header found. (markt)
        fix	63766: Ensure Processor objects are recycled when processing an HTTP upgrade connection that terminates before processing switches to the Processor for the upgraded protocol. (markt)

    Jasper

        fix	63781: When performing various checks related to the visibility of classes, fields an methods in the EL implementation, also check that the containing module has been exported. (markt)

    Web Socket

        fix	63753: Ensure that the Host header in a Web Socket HTTP upgrade request only contains a port if a non-default port is being used. (markt)
        fix	When running on Java 9 and above, don't attempt to instantiate WebSocket Endpoints found in modules that are not exported. (markt)

    Web applications

        fix	Correct the source code links on the index page for the ROOT web application to point to Git rather than Subversion. (markt)
        fix	Fix various issues with the Javadoc generated for the documentation web application to enable release builds to be built with Java 10 onwards. (markt)
        fix	Fix a large number of Javadoc and documentation typos. Patch provided by KangZhiDong. (markt)
        fix	Spelling and formatting corrections for the cluster how-to. Pull request provided by Bill Mitchell. (markt)
        docs	Add Javadoc for the Common Annotations API implementation. (markt)

    jdbc-pool

        fix	When connections are validated without an explicit validation query, ensure that any transactions opened by the validation process are committed. Patch provided by Pascal Davoust. (markt)

    Other

        fix	55620: Partial fix. Prevent Tomcat from starting when $CATALINA_HOME and/or $CATALINA_BASE contains a semi-colon on Windows or a colon on Linux/FreeBSD/etc. (markt)
        fix	62140: Additional usage documentation in comments for catalina.[bat|sh]. (markt)
        add	63285: Add an option to service.bat so that when installing a Windows service, the name of the executables used by the Windows service may be changed to match the service name. This makes the installation behaviour consistent with the Windows installer. The original executable names will be restored when the Windows service is removed. The renaming can be enabled by using the new --rename option after the service name. (markt)
        update	63625: Update to Commons Daemon 1.2.1. This corrects several regressions in Commons Daemon 1.2.0, most notably the Windows Service crashing on start when using 32-bit JVMs. (markt)
        update	63634: Align setproxy target in build.xml with 8.5/9.0. (michaelo)
        add	Limit the default JPDA (remote debugging interface) listen address to localhost:8000. (markt)
        update	Tighten up the default file permissions for the .tar.gz distribution so no files or directories are world readable by default. Configure Tomcat to run with a default umask of 0027 which may be overridden by setting UMASK in setenv.sh. (markt)
        fix	Allow customization of service.bat, such as heap memory size, service startup mode and JVM args. (isapir)
        update	Update the internal fork of Commons Codec to 3ebef4a (2018-08-01) to pick up the fix for CODEC-134. (markt)
        update	63648: Update the test TLS keys and certificates used in the test suite to replace the keys and certificates that are about to expire. (markt)
        fix	Back-port various corrections and improvements to the English versions of the i18n messages. (markt)
        fix	Back-port various corrections and improvements to the Spanish i18n messages. (markt)
        fix	Back-port various corrections and improvements to the French i18n messages. (markt)
        fix	Back-port various corrections and improvements to the Japanese i18n messages. (markt)
        fix	Back-port various corrections and improvements to the Russian i18n messages. (markt)
        add	Include the available German translations in the standard Tomcat distribution. Back-port additions and updates to the German i18n messages. (markt)
        add	Add Korean translations to the standard Tomcat distribution. (markt)
        add	Add simplified Chinese translations to the standard Tomcat distribution. (markt)
        fix	Fix JSSE_OPTS quoting in catalina.bat. Contributed by Peter Uhnak. (fschumacher)
        fix	Remove unused i18n messages and associated translations. Patch provided by KangZhiDong. (markt)
        code	Deprecate org.apache.tomcat.util.compat.TLS. Its functionality was only used for unit tests in org.apache.tomcat.util.net.TesterSupport and has been moved there. (rjung)
        fix	When performing a silent install with the Windows Installer, ensure that the registry entries are added to the 64-bit registry when using a 64-bit JVM. (markt)
        fix	63759: When installing Tomcat with the Windows installer, grant sufficient privileges to enable the uninstaller to execute when user account control is active. (markt)
        add	Use a build property to define the minimum supported Java version and use that build property to reduce the number of edits required to update the minimum supported Java version. (markt)
        update	63767: Update to Commons Daemon 1.2.2. This corrects a regression in Commons Daemon 1.2.0 and 1.2.1 that caused the Windows Service to crash on start when running on an operating system that had not been fully updated. (markt)

Tomcat 7.0.96 (violetagg)	released 2019-07-29

    Catalina

        fix	63579: Correct parsing of malformed OPTIONS requests and reject them with a 400 response rather than triggering an internal error that results in a 500 response. (markt)

    Coyote

        fix	Correct parsing of invalid host names that contain bytes in the range 128 to 255 and reject them with a 400 response rather than triggering an internal error that results in a 500 response. (markt)

    WebSocket

        fix	Correct a regression that prevented a default Tomcat 7 install from starting on Java 6. (markt)

    Other

        add	Enable the unit tests to execute in parallel. (markt)

Tomcat 7.0.95 (violetagg)	not released

    Catalina

        add	43548: Add an XML schema for the tomcat-users.xml file. (markt)
        fix	63324: Refactor the CrawlerSessionManagerValve so that the object placed in the session is compatible with session serialization with mem-cached. Patch provided by Martin Lemanski. (markt)
        fix	63531: Refactor authenticators so that the session last accessed time is not updated if the cache attribute is set to false and FORM authentication is not being used. (markt)
        add	63556: Mark request as forwarded in RemoteIpValve and RemoteIpFilter (michaelo)
        fix	Fix a potential resource leak when executing CGI scripts from a WAR file. Identified by Coverity scan. (markt)
        fix	Fix a potential concurrency issue in the StringCache identified by Coverity scan. (markt)
        fix	Fix a potential concurrency issue in the main Sendfile thread of the APR connector. Identified by Coverity scan. (markt)
        fix	Fix a potential resource leak on some exception paths in the DataSourceRealm. Identified by Coverity scan. (markt)
        fix	Fix a potential resource leak on an exception path when parsing JSP files. Identified by Coverity scan. (markt)
        fix	Fix a potential resource leak when a JNDI lookup returns an object of an in compatible class. Identified by Coverity scan. (markt)
        code	Refactor ManagerServlet to avoid loading classes when filtering JNDI resources for resources of a specified type. (markt)
        fix	Avoid a NullPointerException when a Context is defined in server.xml with a docBase but not the optional path. (markt)
        fix	Ensure that the default servlet reads the entire global XSLT file if one is defined. Identified by Coverity Scan. (markt)
        fix	Avoid potential NullPointerException when generating an HTTP Allow header. Identified by Coverity Scan. (markt)
        add	Remove any fragment included in the target path used to obtain a RequestDispatcher. The requested target path is logged as a warning since this is an application error. (markt)
        update	Modify the Default and WebDAV Servlets so that a 405 status code is returned for PUT and DELETE requests when disabled via the readonly initialisation parameter.
        fix	Align the contents of the Allow header with the response code for the Default and WebDAV Servlets. For any given resource a method that returns a 405 status code will not be listed in the Allow header and a method listed in the Allow header will not return a 405 status code. (markt)
        fix	Correct two failing tests from the Litmus test suite for WebDAV when copying/moving a file over a collection. (markt)
        update	Update the recommended minimum Tomcat Native version to 1.2.23. (markt)
        fix	If an unhandled exception occurs on a asynchronous thread started via AsyncContext.start(Runnable), process it using the standard error page mechanism. (markt)

    Coyote

        code	Refactor Hostname validation to improve performance. Patch provided by Uwe Hees. (markt)
        fix	Fix to avoid the possibility of long poll times for individual pollers when using multiple pollers with APR. (markt)
        fix	Refactor the fix for 63205 so it only applies when using PKCS12 keystores as regressions have been reported with some other keystore types. (markt)

    Jasper

        add	Include file names in error messages if SMAP processor is unable to delete or rename a class file during SMAP generation. (markt)
        fix	Improvements to varargs handling in the Java UEL implementation. (markt)

    Cluster

        fix	62841: Refactor the DeltaRequest serialization to reduce the window during which the DeltaSession is locked and to remove a potential cause of deadlocks during serialization. (markt)
        fix	63441: Further streamline the processing of session creation messages in the DeltaManager to reduce the possibility of a session update message being processed before the session has been created. (markt)

    WebSocket

        fix	63521: As required by the WebSocket specification, if a POJO that is deployed as a result of the SCI scan for annotated POJOs is subsequently deployed via the programmatic API ignore the programmatic deployment. (markt)

    Tribes

        fix	Treat NoRouteToHostException the same way as SocketTimeoutException when checking the health of group members. This avoids a SEVERE log message every time the check is performed when the host associated with a group member is not powered on. (markt)

    Other

        fix	55969: Tighten up the security of the Apache Tomcat installation created by the Windows installer. Change the default shutdown port used by the Windows installer from 8005 to -1 (disabled). Limit access to the chosen installation directory to local administrators, Local System and Local Service. (markt)
        add	59871: Add a property (timeFormat) to JULI's OneLineFormatter to enable the format of the time stamp used in log messages to be configured. (markt)
        update	63310: Update to Commons Daemon 1.2.0. This provides improved support for Java 11. This also changes the user configured by the Windows installer for the Windows service from Local System to the lower privileged Local Service. (markt)
        fix	63335: Ensure that stack traces written by the OneLineFormatter are fully indented. The entire stack trace is now indented by an additional TAB character. (markt)
        fix	When using the OneLineFormatter, don't print a blank line in the log after printing a stack trace. (markt)
        fix	Use the test command to check for terminal availability rather than the tty command since the tty based test fails on non-English locales. Patch provided by Radosław Józwik. (markt)
        update	Update JUnit to version 4.12. (markt)
        update	Update optional WSDL dependency to 1.6.3. (markt)
        update	Update Checkstyle to version 8.22. (markt)

Tomcat 7.0.94 (markt)	released 2019-04-12

    Catalina

        fix	63196: Provide a default (X-Forwarded-Proto) for the protocolHeader attribute of the RemoteIpFilter and RemoteIpValve. (markt)
        add	63206: Add a new attribute to Context - createUploadTargets which, if true enables Tomcat to create the temporary upload location used by a Servlet if the location specified by the Servlet does not already exist. The default value is false. (markt)
        fix	63213: Ensure the correct escaping of group names when searching for nested groups when the JNDIRealm is configured with roleNested set to true. (markt)
        fix	63235: Refactor Charset cache to reduce start time. (markt)
        fix	63236: Use String.intern() as suggested by Phillip Webb to reduce memory wasted due to String duplication. This changes saves ~245k when starting a clean installation. With additional thanks to YourKit Java profiler for helping to track down the wasted memory and the root causes. (markt)
        fix	63246: Fix a potential NullPointerException when calling AsyncContext.dispatch(). (markt)
        fix	63249: Use a consistent log level (WARN) when logging the failure to register or deregister a JMX Bean. (markt)
        fix	63249: Use a consistent log level (ERROR) when logging the LifecycleException associated with the failure to start or stop a component. (markt)
        fix	When the SSI directive fsize is used with an invalid target, return a file size of - rather than 1k. (markt)
        fix	63251: Implement a work-around for a known JRE bug (JDK-8194653) that may cause a dead-lock when Tomcat starts. (markt)
        fix	Ensure that the JarScanner correctly tests whether JARs found on the class path should be skipped when running on Java 9 or later. (markt)
        fix	63275: When using a RequestDispatcher ensure that HttpServletRequest.getContextPath() returns an encoded path in the dispatched request. (markt)
        fix	63286: Document the differences in behaviour between the LogFormat directive in httpd and the pattern attribute in the AccessLogValve for %D and %T. (markt)
        fix	63311: Add support for https URLs to the local resolver within Tomcat used to resolve standard XML DTDs and schemas when Tomcat is configured to validate XML configuration files such as web.xml. (markt)
        fix	Encode the output of the SSI printenv command. This is the fix for CVE-2019-0221. (markt)
        code	Use constants for SSI encoding values. (markt)
        add	When the CGI Servlet is configured with enableCmdLineArguments set to true, limit the encoded form of the individual command line arguments to those values allowed by RFC 3875. This restriction may be relaxed by the use of the new initialisation parameter cmdLineArgumentsEncoded. (markt)
        add	When the CGI Servlet is configured with enableCmdLineArguments set to true, limit the decoded form of the individual command line arguments to known safe values when running on Windows. This restriction may be relaxed by the use of the new initialisation parameter cmdLineArgumentsDecoded. This is the fix for CVE-2019-0232. (markt)
        update	Change the default for the enableCmdLineArguments parameter of the CGI servlet from true to false as additional hardening against CVE-2019-0232. (markt)

    Coyote

        fix	63194: Fix failing unit test so TLS1.3 client authentication tests work correctly when using Java 11 onwards and the APR/Native connector. (markt)
        add	63205: Add a work-around for a known JRE KeyStore loading bug. (markt)

    Jasper

        add	Add support for specifying Java 11 (with the value 11) as the compiler source and/or compiler target for JSP compilation. (markt)
        add	Add support for specifying Java 12 (with the value 12) and Java 13 (with the value 13) as the compiler source and/or compiler target for JSP compilation. If used with an ECJ version that does not support these values, a warning will be logged and the latest supported version will used. Based on a patch by Thomas Collignon. (markt)

    Web applications

        fix	63184: Expand the SSI documentation to provide more information on the supported directives and their attributes. Patch provided by nightwatchcyber. (markt)

    jdbc-pool

        fix	63320: Ensure that StatementCache caches statements that include arrays in arguments. (kfujino)

    Other

        code	Copy Apache Commons DBCP 1.4 and Apache Commons Pool 1.5.7 source code into the Tomcat 7.0.x tree to enable additional fixes to be pulled in. (markt)
        fix	Update the copy of Apache Commons DBCP 1.4.x and Apache Commons pool 1.5.x to the latest source code as of 2019-03-15 to pick up multiple bug fixes including 58338. (markt)
        code	Update the copy of Apache Commons Pool to 1.6.x to pick up the generics changes. (markt)
        add	Add JDBC 4.1 support to the default database connection pool provided by Tomcat. (markt)
        update	Switch from Checkstyle to the JRE6 backport and update to version 8.17. This allows Tomcat 7 to use the newer configuration format (required by Gump that uses the latest Checkstyle snapshot) while still building with Java 6. (markt)
2020-01-13 07:37:46 +00:00
joerg
722b8e6f0b Fix build with OpenSSL 1.1. Drop SSL2 logic. 2020-01-12 23:01:38 +00:00
joerg
aecba5244c Fix ctype use and parallel build. 2020-01-12 23:01:05 +00:00
plunky
30821a29e9 fix spelling 2020-01-12 21:35:54 +00:00
ryoon
eedd1e806f *: Recursive revbump from devel/boost-libs 2020-01-12 20:19:52 +00:00
gutteridge
c6b2955d29 firefox: update PLIST.debug for 72.0.1
One file name changed amongst the extra files generated when the full
debugging option is set.
2020-01-11 20:38:32 +00:00
pho
ec9d97e0c3 Remove dependency on devel/hs-mtl and devel/hs-parsec
They are now part of GHC.
2020-01-11 10:25:05 +00:00
ryoon
364cd9f0d6 firefox68-l10n: Update to 68.4.1
* Sync with www/firefox68-l10n.
2020-01-11 02:40:53 +00:00
khorben
ef50746475 deforaos-surfer: update to 0.3.0
Changes since 0.2.10:
- Defaults to Gtk+ 3 (like libDesktop)
- Add support for IPv6
2020-01-10 23:28:46 +00:00
joerg
02ec44ab77 Fix kqueue fallout on NetBSD current. 2020-01-10 21:22:22 +00:00
joerg
d1bdce1239 Enable all options by default, at least devel/ocaml-git requires lwt
support. Bump revision.
2020-01-10 21:19:20 +00:00
bsiegert
5220c156ea Revbump Go packages after Go default version bump. 2020-01-10 13:32:09 +00:00
gutteridge
2ba4ba468e firefox: update minimum dependency versions for 72.0.1
NSPR >= 4.24 and NSS >= 3.48 are now required. (Rust is unchanged at
>= 1.37.)
2020-01-10 07:21:08 +00:00
nia
7cac75a743 firefox68: Update to 68.4.1
This release fixes one zero-day vulnerability:

CVE-2019-17026: IonMonkey type confusion with StoreElementHole and FallibleStoreElement

Incorrect alias information in IonMonkey JIT compiler for setting array elements could lead to a type confusion.
We are aware of targeted attacks in the wild abusing this flaw
2020-01-09 20:51:59 +00:00
ryoon
5464a3c5b3 firefox-l10n: Update to 72.0.1
* Sync with www/firefox-72.0.1
2020-01-09 15:07:41 +00:00
ryoon
d80a635060 firefox: Update to 72.0.1
Changelog:
72.0.1
Security fixes:
#CVE-2019-17026: IonMonkey type confusion with StoreElementHole and FallibleStoreElement

72.0
New
    Firefox’s Enhanced Tracking Protection marks a major new
    milestone in our battle against cross-site tracking: we now
    block fingerprinting scripts by default for all users, taking
    a new bold step in the fight for our users’ privacy.

    Firefox replaces annoying notification request pop-ups with a
    more delightful experience, by default for all users. The
    pop-ups no longer interrupt your browsing, in its place, a
    speech bubble will appear in the address bar when you interact
    with the site.

    Picture-in-picture video is now also available in Firefox for
    Mac and Linux: Select the blue icon from the right edge of a
    video to pop open a floating window so you can keep watching
    while working in other tabs or apps. Learn how the feature
    works.

Security fixes:
#CVE-2019-17015: Memory corruption in parent process during new content process initialization on Windows
#CVE-2019-17016: Bypass of @namespace CSS sanitization during pasting
#CVE-2019-17017: Type Confusion in XPCVariant.cpp
#CVE-2019-17018: Windows Keyboard in Private Browsing Mode may retain word suggestions
#CVE-2019-17019: Python files could be inadvertently executed upon opening a download
#CVE-2019-17020: Content Security Policy not applied to XSL stylesheets applied to XML documents
#CVE-2019-17021: Heap address disclosure in parent process during content process initialization on Windows
#CVE-2019-17022: CSS sanitization does not escape HTML tags
#CVE-2019-17023: NSS may negotiate TLS 1.2 or below after a TLS 1.3 HelloRetryRequest had been sent
#CVE-2019-17024: Memory safety bugs fixed in Firefox 72 and Firefox ESR 68.4
#CVE-2019-17025: Memory safety bugs fixed in Firefox 72
2020-01-09 15:06:28 +00:00
wiz
78444582ff *: py-cachetools only supports python 3.x now, pass down to dependencies 2020-01-09 14:21:06 +00:00
ng0
e563b66bfb www/nsm: Update to version 2.0.1
Changelog picked from https://github.com/nifty-site-manager/nsm/releases:

Nift (aka nsm) v2.0.1
* fixed bug when cloning a website repository from an empty directory
  (and any other similar bugs from using remove_path where remove_file
  is more appropriate, ie. when creating temporary text files)

Nift (aka nsm) v2.0
* changed @inputcontent to @content()
* changed @inputraw(file-path) to @input{raw}(file-path)
* addded if-exists/raw option to @input(file-path) and @content()
* added file/name options to @pathto
* changed @userin(msg) to @in(msg) and @userfilein(msg) to @in{from-file}(msg)
* added if-exists/inject/raw/content options to @script/@System
* changed from using @[varname] and @{varname} to @[varname] and
  @<varname> when printing variables
* changed to @funcname{options}(params) for function call syntax
* changed from using * option to parse params to {!p} option to
  NOT parse function name, options and params
* changed from using ^ option to not backup scripts to {!bs} option
* added read_params
* fixup up read_def and read_func_name
* fixed multi-line comments
2020-01-09 11:28:37 +00:00
nia
927240ffa0 firefox68: Update to 68.4.0
Security Vulnerabilities fixed in Firefox ESR 68.4:

# CVE-2019-17015: Memory corruption in parent process during new content process initialization on Windows
# CVE-2019-17016: Bypass of @namespace CSS sanitization during pasting
# CVE-2019-17017: Type Confusion in XPCVariant.cpp
# CVE-2019-17021: Heap address disclosure in parent process during content process initialization on Windows
# CVE-2019-17022: CSS sanitization does not escape HTML tags
# CVE-2019-17024: Memory safety bugs fixed in Firefox 72 and Firefox ESR 68.4
2020-01-08 21:49:32 +00:00
adam
430b11aa06 py-nevow: updated to 0.14.5
0.14.5:
Unknown changes.
2020-01-08 21:37:58 +00:00
adam
4ce66cca11 py-beautifulsoup4: updated to 4.8.2
4.8.2:

* Added Python docstrings to all public methods of the most commonly
  used classes.

* Added a Chinese translation by Deron Wang and a Brazilian Portuguese
  translation by Cezar Peixeiro to the repository.

* Fixed two deprecation warnings.

* The html.parser tree builder now correctly handles DOCTYPEs that are
  not uppercase.

* PageElement.select() now returns a ResultSet rather than a regular
  list, making it consistent with methods like find_all().
2020-01-08 21:08:26 +00:00
adam
6c919fafb3 py-websocket-client: updated to 0.57.0
0.57.0
- wsdump: Fix --headers option
- Fix getting 400 bad request with long proxy authorization string
- Fix for errors that occur when closing websocket from another thread
- avoid calling repr(data) if tracing is not enabled
- Fixed typo
- Create dummy `ssl` object
- Show compressed text messages in wsdump.py
- Resolve issue opening socket to intranet on Windows 10 with no proxy settings but behind proxy
- Expose http connection header to user
- Improve the readability of HTTP status codes.
- fix the compatible issue with gevent+dnspython
- v should be checked for emptry string before splitting it
- _handshake: hasattr checks on six before accessing the values
2020-01-08 21:05:56 +00:00
adam
859bfdf42d py-sanic: updated to 19.12.2
Version 19.12.0

Bugfixes

Fix blueprint middleware application

Currently, any blueprint middleware registered, irrespective of which blueprint was used to do so, was being applied to all of the routes created by the @app and @blueprint alike.

As part of this change, the blueprint based middleware application is enforced based on where they are registered.

If you register a middleware via @blueprint.middleware then it will apply only to the routes defined by the blueprint.
If you register a middleware via @blueprint_group.middleware then it will apply to all blueprint based routes that are part of the group.
If you define a middleware via @app.middleware then it will be applied on all available routes
Fix url_for behavior with missing SERVER_NAME

If the SERVER_NAME was missing in the app.config entity, the url_for on the request and app were failing due to an AttributeError. This fix makes the availability of SERVER_NAME on our app.config an optional behavior.

Improved Documentation

Move docs from RST to MD

Moved all docs from markdown to restructured text like the rest of the docs to unify the scheme and make it easier in the future to update documentation.

Fix documentation for get and getlist of the request.args

Add additional example for showing the usage of getlist and fix the documentation string for request.args behavior

Version 19.6.3

Enable Towncrier Support
As part of this feature, towncrier is being introduced as a mechanism to partially automate the process of generating and managing change logs as part of each of pull requests.

Improved Documentation
Documentation infrastructure changes
Enable having a single common CHANGELOG file for both GitHub page and documentation
Fix Sphinix deprecation warnings
Fix documentation warnings due to invalid rst indentation
Enable common contribution guidelines file across GitHub and documentation via CONTRIBUTING.rst

Version 19.6.2

Features
* Remove aiohttp dependencey and create new SanicTestClient based upon requests-async
* Added ASGI support (Beta)
* Add Configure support from object string

Bugfixes
* Add missing handle for Expect header.
* Allow to disable Transfer-Encoding: chunked.
* Fix graceful shutdown.
* Strict Slashes behavior fix

Deprecations and Removals
* Drop dependency on distutil
* Drop support for Python 3.5
* Deprecate route removal.

Warning
Sanic will not support Python 3.5 from version 19.6 and forward. However, version 18.12LTS will have its support period extended thru December 2020, and therefore passing Python's official support version 3.5, which is set to expire in September 2020.
2020-01-08 21:03:21 +00:00
adam
0147ee151e py-uvicorn: added version 0.11.1
Uvicorn is a lightning-fast ASGI server implementation, using uvloop and
httptools.

Until recently Python has lacked a minimal low-level server/application
interface for asyncio frameworks. The ASGI specification fills this gap, and
means we're now able to start building a common set of tooling usable across
all asyncio frameworks.
2020-01-08 20:58:29 +00:00
adam
52960aaa31 py-httpx: added version 0.10.1
HTTPX is a fully featured HTTP client for Python 3, which provides sync and
async APIs, and support for both HTTP/1.1 and HTTP/2.
2020-01-08 20:54:27 +00:00