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

apache / struts / 1749 / 2
48%
master: 51%

Build:
Build:
LAST BUILD BRANCH: WW-5233-tiles
DEFAULT BRANCH: master
Ran 16 Nov 2019 04:48PM UTC
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

16 Nov 2019 04:39PM UTC coverage: 47.069%. Remained the same
1749.2

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

Source Files on job 1749.2
  • Tree
  • List 0
  • Changed 87
  • Source Changed 2
  • Coverage Changed 87
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1540
  • Travis Job 1749.2
  • 3dfc5a40 on github
  • Prev Job for on struts-2-5-x (#1735.2)
  • Next Job for on struts-2-5-x (#1752.2)
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

© 2026 Coveralls, Inc