JCgH4164838Gh792C124B5 commented on pull request #483:
URL: https://github.com/apache/struts/pull/483#issuecomment-830911008


   Hi @yasserzamani .  This looks like an interesting PR and discussion for 
sure.  😃 
   
   One other consideration may be allowing a choice (by configuration) as to 
whether to allow re-evaluation or not (at all).
   
   If a developer wants to permit re-evaluation then they could enable a 
configuration option to do so, otherwise the framework could continue to apply 
the more restrictive original logic 
(https://github.com/apache/struts/pull/483/files#diff-cfe644a2b24b492d6835fa1f38e7a770dad354b286cbe6b056a5fe7e80e669caL808-L809).
   Also, having an opt-in choice might mitigate some of the potential concerns 
with additional overhead, since the developer would be making a choice to use 
the feature.
   
   In terms of having the ability to configure different enter/interceptor 
accept/reject patterns vs. tag/component accept/reject patterns, there might be 
hard-to-predict scenarios where one might need some flexibility to change them 
independently.  Having the tag/component accept/reject patterns default to the 
same as the enter/interceptor ones, but with a user-configurable override, 
might be a safer path to take ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to