Skip to content

Commit 3dc21dd

Browse files
committed
address warning
1 parent e3ee565 commit 3dc21dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/application-gateway/parameter-based-path-selection-portal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ For this example, you have a shopping website and the product category is passed
3030

3131
**Step 1:** Create a path-map as shown in the following image:
3232

33-
:::image type="content" source="./media/rewrite-http-headers-url/url-scenario1-1.png" alt-text="A screenshot of URL rewrite scenario 1-1.":::
33+
:::image type="content" source="./media/rewrite-http-headers-url/url-scenario1-1.png" alt-text="A screenshot of URL rewrite scenario 1-1.":::
3434

3535
**Step 2 (a):** Create a rewrite set which has 3 rewrite rules:
3636

@@ -45,7 +45,7 @@ For this example, you have a shopping website and the product category is passed
4545

4646
**Step 2 (b):** Associate this rewrite set with the default path of the previous path-based rule:
4747

48-
:::image type="content" source="./media/rewrite-http-headers-url/url-scenario1-3.png" alt-text="A screenshot of URL rewrite scenario 1-3.":::
48+
:::image type="content" source="./media/rewrite-http-headers-url/url-scenario1-3.png" alt-text="A screenshot of URL rewrite scenario 1-3.":::
4949

5050
If the user requests *contoso.com/listing?category=any*, then it's matched with the default path since none of the path patterns in the path map (/listing1, /listing2, /listing3) are matched. Since you associated the previous rewrite set with this path, this rewrite set is evaluated. Because the query string doesn't match the condition in any of the 3 rewrite rules in this rewrite set, no rewrite action takes place. Therefore, the request is routed unchanged to the backend associated with the default path (which is *GenericList*).
5151

0 commit comments

Comments
 (0)