Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward-port PR#70 from 3.1.x to 3.2.x (cherry-pick) #85

Merged

Conversation

JCgH4164838Gh792C124B5
Copy link
Contributor

Forward-port PR#70 from 3.1.x to 3.2.x (cherry-pick).

Merge pull request #70 from JCgH4164838Gh792C124B5/localOGNL_3_1B2

Proposed minor cleanup change to 3.1.x branch

(cherry picked from commit 7d417f0)

Conflicts:

src/main/java/ognl/OgnlRuntime.java

Kept checkPermission element from cherry-pick, even though it is related to
ongoing SecurityManager logic changes in 3.1.x.

Modified the lower block that was in conflict to use checkPermission
instead of a redundant Map get, and provided a TODO comment for it to be
removed if/when the SecurityManager logic from 3.1.x is merged into 3.2.x.

…L_3_1B2

Proposed minor cleanup change to 3.1.x branch

(cherry picked from commit 7d417f0)

# Conflicts:
#	src/main/java/ognl/OgnlRuntime.java

Kept checkPermission element from cherry-pick, even though it is related to
ongoing SecurityManager logic changes in 3.1.x.

Modified the lower block that was in conflict to use checkPermission
instead of a redundant Map get, and provided a TODO comment for it to be
removed if/when the SecurityManager logic from 3.1.x is merged into 3.2.x.
@JCgH4164838Gh792C124B5
Copy link
Contributor Author

Hello OGNL Team.

This is one of two PRs that I was able to cherry-pick independently from 3.1.x back to the 3.2.x branch without significant issues.

I tried looking at the three (3) PR# 69,74,75 set from 3.1.x, but found seem too intertwined to deal with separately (I tried the simplest - 75 - and had issues). Those PRs should probably be dealt with in a single PR for 3.2.x (either as a sequence of in-order cherry-picks together or a manual migration of their code) ... once the SecurityManager sandboxing logic has been stabilized in the 3.1.x branch.

Lukasz and Yasser might have a different preference on how to tackle that work ...

@lukaszlenart
Copy link
Collaborator

I'm good with applying all the three at once, thank you :)

@lukaszlenart lukaszlenart merged commit 7359a19 into orphan-oss:master Sep 30, 2019
@JCgH4164838Gh792C124B5 JCgH4164838Gh792C124B5 deleted the localOGNL_3_2_CPickPR70 branch October 4, 2019 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants