masaori335 commented on code in PR #13675:
URL: https://github.com/apache/trafficserver/pull/13675#discussion_r4003845549


##########
tools/hrw4u/src/visitor.py:
##########
@@ -1148,6 +1153,8 @@ def emit_factor(self, ctx, *, last: bool = False) -> None:
             match ctx:
                 case _ if ctx.getChildCount() == 2 and 
ctx.getChild(0).getText() == "!":
                     self._dbg("`NOT' detected")
+                    if not self._sandbox_check(ctx, lambda: 
self._sandbox.check_modifier("NOT")):
+                        return

Review Comment:
   Same as above



##########
tools/hrw4u/src/visitor.py:
##########
@@ -1051,6 +1054,8 @@ def visitComparison(self, ctx, *, last: bool = False) -> 
None:
                     cond_txt = f"{lhs} {regex_expr}"
 
                 case _ if ctx.iprange():
+                    if not self._sandbox_check(ctx, lambda: 
self._sandbox.check_language("in")):
+                        return

Review Comment:
   Same as above



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to