This is an automated email from the ASF dual-hosted git repository.
thiagohp pushed a change to branch 5.9.x
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
from 4053ca95b TAP5-2841: hide exception message in exception page
new a4ce24213 Improving classpath asset handling
new 3b2561b22 TAP5-2835: ContextAssetProtectionRule chain added, don't
serve source maps in prod
new d1e275e60 LocalizationSetter improvements
new 33824e112 Improving the handling of the container page query
new 9673bdc1a Improving context asset handling
new 122e93e40 Fix ContextAssetRequestHandlerTest after asset resolution
reordering
new 40de58b20 Fix ComponentEventDispatcherTest after container page
validation
new ad278ca05 TAP5-2832: LocalhostOnly detect IPv6 correctly (#64)
The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../services/AjaxComponentEventRequestHandler.java | 15 +-
.../services/ComponentEventLinkEncoderImpl.java | 44 ++++--
.../services/ComponentEventRequestHandlerImpl.java | 13 ++
.../internal/services/LocalizationSetterImpl.java | 82 +++++++++-
.../services/RequestSecurityManagerImpl.java | 8 +-
.../internal/services/WhitelistOnlyPageFilter.java | 95 +++++++++++
.../assets/ClasspathAssetRequestHandler.java | 36 +++--
.../assets/ContextAssetRequestHandler.java | 52 +++++-
.../internal/services/security/LocalhostOnly.java | 83 +++++++++-
.../internal/test/TestableRequestImpl.java | 10 ++
.../org/apache/tapestry5/modules/AssetsModule.java | 44 +++++-
.../apache/tapestry5/modules/TapestryModule.java | 7 +
...onRule.java => ContextAssetProtectionRule.java} | 16 +-
.../tapestry5/services/DelegatingRequest.java | 5 +
.../services/ComponentEventDispatcherTest.java | 2 +
.../services/LocalizationSetterImplTest.java | 115 +++++++++++++-
.../services/WhitelistOnlyPageFilterTest.java | 174 +++++++++++++++++++++
.../assets/ContextAssetRequestHandlerTest.java | 104 +++++++++---
.../services/security/LocalhostOnlyTest.java | 104 ++++++++++++
.../internal/test/InternalBaseTestCase.java | 4 +-
.../valid-asset.js | 1 +
.../valid-asset.js.map | 1 +
.../http/internal/services/RequestImpl.java | 5 +
.../apache/tapestry5/http/services/Request.java | 11 ++
24 files changed, 958 insertions(+), 73 deletions(-)
create mode 100644
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/WhitelistOnlyPageFilter.java
copy
tapestry-core/src/main/java/org/apache/tapestry5/services/{ClasspathAssetProtectionRule.java
=> ContextAssetProtectionRule.java} (77%)
create mode 100644
tapestry-core/src/test/java/org/apache/tapestry5/internal/services/WhitelistOnlyPageFilterTest.java
create mode 100644
tapestry-core/src/test/java/org/apache/tapestry5/internal/services/security/LocalhostOnlyTest.java
create mode 100644
tapestry-core/src/test/resources/context-asset-request-handler-test/valid-asset.js
create mode 100644
tapestry-core/src/test/resources/context-asset-request-handler-test/valid-asset.js.map