monkeyDluffy6017 commented on code in PR #9448:
URL: https://github.com/apache/apisix/pull/9448#discussion_r1203300073


##########
docs/en/latest/plugins/ua-restriction.md:
##########
@@ -43,7 +43,8 @@ A common scenario is to set crawler rules. `User-Agent` is 
the identity of the c
 
 :::note
 
-Both `allowlist` and `denylist` can be used on their own. If they are used 
together, the `allowlist` matches before the `denylist`.
+1.Both `allowlist` and `denylist` can be used on their own. If they are used 
together, the `allowlist` matches before the `denylist`.
+2.If only `allowlist` is set and the `User-Agent` is not in the `allowlist`, 
the request will be rejected.

Review Comment:
   ```suggestion
   1. Both `allowlist` and `denylist` can be used on their own. 
   2. If they are used together, the `allowlist` matches before the `denylist`.
   3. If only `allowlist` is set and the `User-Agent` is not in the 
`allowlist`, the request will be rejected.
   ```



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