• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / struts / 1749
48%
master: 51%

Build:
Build:
LAST BUILD BRANCH: WW-5233-tiles
DEFAULT BRANCH: master
Ran 16 Nov 2019 04:48PM UTC
Jobs 1
Files 1340
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1749

push

travis-ci

yasserzamani
Disable expressionMaxLength by default for Struts 2.5.x. (#380)

* Disable struts.ognl.expressionMaxLength by default for Struts 2.5.x.
- Commented out struts.ognl.expressionMaxLength line in default.properties
and provided in-place comments about its usage.
- Changed OgnlValueStack.handleOgnlException() methods to output error
instead of warn for failures to evaluate expressions due to security
constraints.
- Updated existing unit tests to compensate for change in default
behaviour.
- Added a unit test to confirm default behaviour for
struts.ognl.expressionMaxLength is disabled.

* Updated commit for disable struts.ognl.expressionMaxLength by default for
Struts 2.5.x
- Additional unit test requested by Y. Zamani for code coverage.
- Corrected accidental use of wrong (static) toString method in one test.
- Addition of a minimum struts.ognl.expressionMaxLength value permitted
by Struts 2 (128).  Any value smaller than that is likely to be a
configuration error and if a user really wishes to force it they may go to
OGNL directly to do so.

* Updated commit for disable struts.ognl.expressionMaxLength by default for
Struts 2.5.x
- Removed minimum struts.ognl.expressionMaxLength (restored to previous
behaviour) as requested by Y. Zamani and L. Lenart.
- Updated unit tests to compensate for the above change.
- Changed log output from warn to error in applyExpressionMaxLength() on
exception since it will likely be considered a fatal condition.

27213 of 57815 relevant lines covered (47.07%)

12208.5 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1749.2 16 Nov 2019 04:48PM UTC 0
47.07
Travis Job 1749.2
Source Files on build 1749
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1749
  • 3dfc5a40 on github
  • Prev Build on struts-2-5-x (#1735)
  • Next Build on struts-2-5-x (#1752)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc