Skip to content

Commit ea5b757

Browse files
authored
Merge pull request #99293 from steevaavoo/main
Added further wildcard examples and warning
2 parents 5215445 + 004d777 commit ea5b757

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/firewall/firewall-faq.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,17 +156,18 @@ sections:
156156
answer: |
157157
- **URL** - Asterisks work when placed on the right-most or left-most side. If it is on the left, it can't be part of the FQDN.
158158
- **FQDN** - Asterisks work when placed on the left-most side.
159+
- **GENERAL** - Asterisks on the left-most side mean literally _anything_ to the left will match, meaning multiple subdomains and/or potentially unwanted domain name variations will be matched - see examples below.
159160
160161
Examples:
161162
162163
163164
|Type |Rule |Supported? |Positive examples |
164165
|---------|---------|---------|---------|
165166
|TargetURL |`www.contoso.com` |Yes|`www.contoso.com`<br>`www.contoso.com/`|
166-
|TargetURL |`*.contoso.com` |Yes|`any.contoso.com/`|
167-
|TargetURL |`*contoso.com`|Yes |`example.anycontoso.com`<br>`sub1.example.anycontoso.com`<br>`contoso.com`|
167+
|TargetURL |`*.contoso.com` |Yes|`any.contoso.com/`<br>`sub1.any.contoso.com`|
168+
|TargetURL |`*contoso.com`|Yes |`example.anycontoso.com`<br>`sub1.example.contoso.com`<br>`contoso.com`<br>Warning: this usage of wildcard will also allow potentially undesired/risky variations such as `th3re4lcontoso.com` - use with caution.|
168169
|TargetURL |`www.contoso.com/test`|Yes|`www.contoso.com/test`<br>`www.contoso.com/test/`<br>`www.contoso.com/test?with_query=1`|
169-
|TargetURL |`www.contoso.com/test/*`|Yes|`www.contoso.com/test/anything`<br>Note - `www.contoso.com/test` will **not** match (last slash)|
170+
|TargetURL |`www.contoso.com/test/*`|Yes|`www.contoso.com/test/anything`<br>Note: `www.contoso.com/test` will **not** match (last slash)|
170171
|TargetURL |`www.contoso.*/test/*`|No| |
171172
|TargetURL |`www.contoso.com/test?example=1`|No| |
172173
|TargetURL |`www.contoso.*`|No| |

0 commit comments

Comments
 (0)