JCgH4164838Gh792C124B5
536d2db4b8
Minor update to Struts 2.5.x SecurityMemberAccess.
...
Code changes:
- updated SecurityMemberAccess for compatibility with future OGNL 3.1.19+ versions
- updated SecurityMemberAccess constructor (minor cleanup and added comment)
2018-11-21 23:45:13 -05:00
Yasser Zamani
32c8f6f811
[WW-4981] Adds support for JDK11 ( #270 )
2018-11-19 14:27:21 +03:30
Yasser Zamani
06e5dfc2ab
delete not-supported picked from master system property test
2018-11-18 16:30:54 +03:30
Sebastian Peters
fe630db5f2
Refactor environment dependant tests
...
* use org.apache.commons.lang3.SystemUtils for env detection
* use assertThat for more concise assertions
* move setup code to setUp
* some formatting
(cherry picked from commit 8d341df )
2018-11-18 16:01:44 +03:30
JCgH4164838Gh792C124B5
c5272d2a0d
Backport enhancement/fix from 2.6 to 2.5.19 unit tests to allow Struts 2.5.x build to complete sucessfully on Windows.
...
- Involves changes to: EnvsValueSubstitutorTest, XmlConfigurationProviderEnvsSubstitutionTest, xwork-test-envs-substitution.xml.
- Note: 2.5.x EnvValueSubstitutor doesn't support system properties (only env properties) so some tests were not backported.
2018-11-17 13:21:20 -05:00
Yasser Zamani
11de8810e4
satisfy coveralls via testing with a not URLClassLoader
...
See also WW-4845
(cherry picked from commit 02abab3 )
2018-11-16 17:30:27 +03:30
Yasser Zamani
75dc4c00d2
pass all current tests with java 9
...
See also WW-4845
(cherry picked from commit a5d888a )
2018-11-16 17:29:37 +03:30
Lukasz Lenart
12c3d23bdf
Merge pull request #260 from yasserzamani/WW-4974
...
WW-4974 monitor not-monitored loaded files on demand
2018-11-03 10:47:09 +01:00
Yasser Zamani
ecb7beef38
not miss container provided fileUrl and ...
...
lazy monitoring for performance. Fix and test stopping reload configs at runtime.
Fixes WW-4974
2018-11-01 15:17:02 +03:30
Yasser Zamani
bac0f2953c
monitor not-monitored loaded files on demand
...
See WW-4974
2018-10-31 19:51:37 +03:30
JCgH4164838Gh792C124B5
7bca98205d
Fix typos and whitespace (on top of WW-4971 Fix broken s:includes for non-UTF8 content).
2018-10-25 00:13:35 -04:00
JCgH4164838Gh792C124B5
567fae9dfc
WW-4971 Fix broken s:includes for non-UTF8 content. The low-risk fix retains existing behaviour by default, but provides a configuration flag users can set (to true) in order to enable usage of response (page) encoding for s:include tags. A WARN level log output is also generated for failed FastByteArrayOutputStream decoding (can be suppressed by log configuration).
2018-10-24 23:41:38 -04:00
Lukasz Lenart
f4d7dbe88e
[maven-release-plugin] prepare for next development iteration
2018-09-18 11:23:59 +02:00
Lukasz Lenart
289782c583
[maven-release-plugin] prepare release STRUTS_2_5_18
2018-09-18 11:23:36 +02:00
Yasser Zamani
b816cc1374
monitor file only if needed
...
See also: WW-4948
2018-09-10 18:18:42 +04:30
Yasser Zamani
b802baa4a9
delete temp files on close instead of on JVM exists
2018-09-06 12:59:21 +04:30
Aleksandr Mashchenko
daac47ee62
Improve log messages in SecurityMemberAccess
...
(cherry picked from commit be1a93b0d5 )
2018-09-03 21:51:30 +03:00
Aleksandr Mashchenko
b1709c5208
Better logging message (for WW-4954)
...
(cherry picked from commit b213d58f54 )
2018-09-03 21:51:17 +03:00
Lukasz Lenart
029892d656
WW-4954 Moves XWorkList out of util package
2018-08-30 08:39:11 +02:00
Sanghyuk Jung
58d87025e9
Fix logging messages
2018-08-27 20:59:00 +09:00
Yaser Zamani
83c0f1cd1e
[maven-release-plugin] prepare for next development iteration
2018-08-13 17:13:52 +04:30
Yaser Zamani
eacc002334
[maven-release-plugin] prepare release STRUTS_2_5_17
2018-08-13 17:12:34 +04:30
Yasser Zamani
45effc3822
add an extra unit test
2018-06-29 16:28:23 +04:30
Lukasz Lenart
bad9a49060
Fixes how dependencies are injected into constructor
2018-06-27 08:15:21 +02:00
Yasser Zamani
a75eddb515
delete redundant code for performance
2018-06-21 12:00:46 +04:30
Lukasz Lenart
6e87474f9a
Validates action, namespace and method in the same way
2018-06-21 09:19:57 +02:00
Lukasz Lenart
9fcbd912bc
Adds more general exclusion
2018-06-21 08:20:11 +02:00
Lukasz Lenart
fbc780e779
Adds proper handling of primitive types
2018-06-20 11:47:53 +02:00
Lukasz Lenart
3ec7fa9d80
Makes OgnlUtil more immutable
2018-05-29 12:58:44 +02:00
Lukasz Lenart
d175836757
Changes version to snapshot
2018-05-02 08:45:44 +02:00
Lukasz Lenart
6efaf900d4
Increases scope when location parsing is avoided
2018-05-02 08:25:06 +02:00
Lukasz Lenart
b3bad5ea44
Avoids parsing namespace when using existing namespace
2018-05-02 08:04:15 +02:00
Lukasz Lenart
1fec084542
[maven-release-plugin] prepare release STRUTS_2_5_16
2018-03-02 12:59:53 +01:00
Yasser Zamani
8d91536b17
fix javadoc to being consistent with WW-3915 changes
...
See also WW-3915
2018-02-20 17:32:45 +03:30
Yasser Zamani
f929673a91
replace sun.net.www.ParseUtil#decode
...
See also WW-4920
2018-02-17 11:22:24 +03:30
Yasser Zamani
4718dccd1c
comment jira issue id and fix a few typos
...
See also WW-4920
2018-02-16 14:14:21 +03:30
Yasser Zamani
155dff745e
fix java.net.JarURLConnection#parseSpecs
...
See also WW-4920
2018-02-16 14:01:38 +03:30
Lukasz Lenart
def4adacd6
[maven-release-plugin] prepare for next development iteration
2018-02-09 09:36:39 +01:00
Lukasz Lenart
2c0facc3aa
[maven-release-plugin] prepare release STRUTS_2_5_15
2018-02-09 09:36:18 +01:00
Aleksandr Mashchenko
6ae63d7669
use NumberUtils.isCreatable instead of deprecated NumberUtils.isNumber
2018-02-06 18:22:40 +02:00
Aleksandr Mashchenko
eed364fe28
Use managed surefire version in core
2018-02-05 18:39:12 +02:00
Yasser Zamani
20a7b6503f
Merge pull request #207 from lukaszlenart/sessionless
...
WW-4741: Do not create session
2018-01-31 16:48:17 +03:30
Yasser Zamani
caeea2145f
test not create when no session
...
See also WW-4741
2018-01-31 13:57:21 +03:30
Yasser Zamani
b5cfccace3
test no session but with locale parameter
...
See also WW-4741
2018-01-31 13:33:44 +03:30
Lukasz Lenart
95a24c87a4
Adds autogenerated file
2018-01-31 07:22:27 +01:00
Lukasz Lenart
92e931d169
WW-4741 Improves tests to cover the new logic
2018-01-31 07:21:53 +01:00
Lukasz Lenart
e9a4bcd776
WW-4741 Does not create session if it doesn't exist
2018-01-31 07:21:35 +01:00
Yasser Zamani
9b892cc7fd
Merge pull request #206 from lukaszlenart/scan-deeper
...
WW-4912: scan package-info and class at the same time
2018-01-30 13:17:09 +03:30
Yasser Zamani
8d4194bbf7
allow duplicate in AnnotationUtils.findAnnotations result
...
See also WW-4912
2018-01-30 12:21:33 +03:30
Yasser Zamani
cf71e0f34f
add support finding annotations on interfaces and their packages
...
See also WW-4912
2018-01-30 11:35:16 +03:30