Skip to content

Commit e5165b5

Browse files
committed
undo move js location
1 parent 528d357 commit e5165b5

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

.openpublishing.redirection.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2608,12 +2608,6 @@
26082608
"redirect_url": "/azure/web-application-firewall/cdn/cdn-overview",
26092609
"redirect_document_id": false
26102610
},
2611-
{
2612-
"source_path_from_root": "/articles/web-application-firewall/waf-javascript-challenge.md",
2613-
"redirect_url": "/azure/web-application-firewall/afds/waf-javascript-challenge",
2614-
"redirect_document_id": false
2615-
},
2616-
26172611
{
26182612
"source_path_from_root": "/articles/web-application-firewall/ag/whats-new.md",
26192613
"redirect_url": "/azure/web-application-firewall/ag/ag-overview#whats-new",

articles/web-application-firewall/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ items:
8787
href: ./afds/waf-front-door-rate-limit.md
8888
- name: Geo-filtering
8989
href: ./afds/waf-front-door-geo-filtering.md
90-
- name: JavaScript challenge
91-
href: ./afds/waf-javascript-challenge.md
9290
- name: Best practices
9391
href: ./afds/waf-front-door-best-practices.md
9492
- name: FAQ
@@ -103,6 +101,8 @@ items:
103101
href: waf-copilot.md
104102
- name: WAF and Azure Policy
105103
href: ./shared/waf-azure-policy.md
104+
- name: JavaScript challenge
105+
href: ./afds/waf-javascript-challenge.md
106106
- name: How-to guides
107107
items:
108108
- name: Application Gateway

articles/web-application-firewall/afds/waf-javascript-challenge.md renamed to articles/web-application-firewall/waf-javascript-challenge.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ The JavaScript challenge is an invisible web challenge used to distinguish betwe
2727

2828
Here's an example JavaScript challenge page:
2929

30-
:::image type="content" source="../media/waf-javascript-challenge/javascript-challenge-page.png" alt-text="Screenshot showing the JavaScript challenge page.":::
30+
:::image type="content" source="media/waf-javascript-challenge/javascript-challenge-page.png" alt-text="Screenshot showing the JavaScript challenge page.":::
3131

3232
## Expiration
3333

34-
The WAF policy setting defines the JavaScript challenge cookie validity lifetime in minutes. The user is challenged after the lifetime expires. The lifetime is an integer between 5 and 1440 and the default is 30 minutes. The JavaScript challenge cookie name is `afd_azwaf_jsclearance`.
34+
The WAF policy setting defines the JavaScript challenge cookie validity lifetime in minutes. The user is challenged after the lifetime expires. The lifetime is an integer between 5 and 1440 minutes and the default is 30 minutes. The JavaScript challenge cookie name is `afd_azwaf_jsclearance` on Azure Front Door, and `appgw_azwaf_jsclearance` on Azure Application Gateway.
3535

3636
> [!NOTE]
3737
> The JavaScript challenge expiration cookie is injected into the user’s browser after successfully completing the challenge.
@@ -42,4 +42,5 @@ The WAF policy setting defines the JavaScript challenge cookie validity lifetime
4242
- If the first call that receives a JavaScript challenge has a POST body size greater than 128 KB, it blocks it. Additionally, challenges for non-HTML resources embedded in a page aren't supported. For example images, css, js, and so on. However, if there's a prior successful JavaScript challenge request, then the previous limitations are removed.
4343
- The challenge isn't supported on Microsoft Internet Explorer. The challenge is supported on the latest versions of the Microsoft Edge, Chrome, Firefox, and Safari web browsers.
4444
- Cross-origin resource sharing (CORS) requests result in a challenge loop. If you visit a page that triggers the JavaScript challenge action from a domain that isn't the same as the domain running the JavaScript challenge, you're challenged regardless of prior challenge passes.
45-
- If one IP address receives the JavaScript challenge and a different IP address solves it, the computation result becomes invalid, potentially causing a challenge loop.
45+
- If one IP address receives the JavaScript challenge, and a different IP address that belongs to the same domain solves it, the computation result becomes invalid, potentially causing a challenge loop.
46+
- The JavaScript Challenge action on Web Application Firewall on Application Gateway is not supported for *Rate Limit* type custom rules during the public preview.

0 commit comments

Comments
 (0)