Skip to content

Commit 05df869

Browse files
committed
Switch faq-link and error-link from md to html
1 parent e8d8294 commit 05df869

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+140
-140
lines changed

_error-messages/a2da.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Even if you aren't intentionally using redirects there are two common ways that
1919
If you're unsure why a redirect is occurring then the first step is to check the `Location` response header. Often the
2020
new location will only differ from the original location by a single character so you may need to check it very
2121
carefully. Safari and recent versions of Chrome don't show the preflight request separately in the *Network* tab of the
22-
developer tools, making it difficult to check the response headers. See {% include faq-link.md faq="b56b" %} for more
22+
developer tools, making it difficult to check the response headers. See {% include faq-link.html faq="b56b" %} for more
2323
information.
2424

2525
While the server should not be attempting to redirect the preflight `OPTIONS` request it is usually trivial to fix in
@@ -29,5 +29,5 @@ the client by updating the URL to avoid the redirect altogether.
2929

3030
Related:
3131

32-
* {% include faq-link.md faq="c320" %}
33-
* {% include faq-link.md faq="b56b" %}
32+
* {% include faq-link.html faq="c320" %}
33+
* {% include faq-link.html faq="b56b" %}

_error-messages/a384.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This message is intended to provide extra feedback to the developer but ultimate
2020
`Origin` request header will always be well-formed so if the `Access-Control-Allow-Origin` header can't be parsed it
2121
can't be a match.
2222

23-
This is very similar to {% include error-link.md message="f6e6" text="another error message" %}. That error relates to
23+
This is very similar to {% include error-link.html message="f6e6" text="another error message" %}. That error relates to
2424
the preflight `OPTIONS` request, whereas this error specifically concerns the main request.
2525

2626
If you are making the request using the `fetch` API then you'll also see the following text at the end of the error
@@ -31,5 +31,5 @@ message:
3131
mode to 'no-cors' to fetch the resource with CORS disabled.
3232
</blockquote>
3333

34-
For more information about opaque responses see {% include faq-link.md faq="dfdb" %}. Using an opaque response will
34+
For more information about opaque responses see {% include faq-link.html faq="dfdb" %}. Using an opaque response will
3535
suppress the error message but it won't allow you to access the response details.

_error-messages/aa0c.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ The best place to start with debugging this error is to check which status code
1313
response body that provides further information.
1414

1515
This can be tricky in browsers that don't show the preflight `OPTIONS` request separately in the developer tools. See
16-
{% include faq-link.md faq="b56b" %} for more information.
16+
{% include faq-link.html faq="b56b" %} for more information.
1717

1818
The other thing to check is the request URL. Specifically check in the developer tools rather than in your code. Make
1919
sure the URL really is what you intended. Depending on how the server is configured there are several different status
2020
codes you might receive if the URL is wrong.
2121

2222
Attempts to redirect to a different URL will typically show a different error message. See
23-
{% include error-link.md message="a2da" text="Redirect is not allowed for a preflight request" %}.
23+
{% include error-link.html message="a2da" text="Redirect is not allowed for a preflight request" %}.

_error-messages/aa2f.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ A value of `*` can also be used as a wildcard in `Access-Control-Allow-Headers`.
2222

2323
Related:
2424

25-
* {% include faq-link.md faq="b7f6" %}
26-
* {% include faq-link.md faq="b040" %}.
25+
* {% include faq-link.html faq="b7f6" %}
26+
* {% include faq-link.html faq="b040" %}.

_error-messages/b435.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ error:
1313

1414
For requests that use `withCredentials` the server response to the preflight `OPTIONS` request must include the header
1515
`Access-Control-Allow-Credentials` set to the value `true`. The same header must also be included for the main request,
16-
though omitting it would trigger {% include error-link.md message="bbd3" text="a different error message" %}.
16+
though omitting it would trigger {% include error-link.html message="bbd3" text="a different error message" %}.
1717

18-
If you are unclear what a preflight `OPTIONS` request is then see {% include faq-link.md faq="b7f6" %}.
18+
If you are unclear what a preflight `OPTIONS` request is then see {% include faq-link.html faq="b7f6" %}.
1919

2020
If the message reports a value of `''` then that usually means the header is missing altogether rather than being
2121
returned with an explicit empty value.
2222

2323
If the error message indicates that the current value is `'true, true'` then that suggests that the header is being
2424
returned twice.
2525

26-
See also {% include faq-link.md faq="fcd5" %}.
26+
See also {% include faq-link.html faq="fcd5" %}.

_error-messages/b78f.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ message: "Response to preflight request doesn't pass access control check: No 'A
66
This error indicates that the preflight `OPTIONS` request failed because the server did not include the response header
77
`Access-Control-Allow-Origin`.
88

9-
This is very similar to {% include error-link.md message="e2a2" text="another error message" %}. That error relates to
9+
This is very similar to {% include error-link.html message="e2a2" text="another error message" %}. That error relates to
1010
the main request, whereas this error specifically concerns the preflight `OPTIONS` request.
1111

12-
If you're new to CORS see {% include faq-link.md faq="e9f4" %} for more information.
12+
If you're new to CORS see {% include faq-link.html faq="e9f4" %} for more information.
1313

14-
If you are unclear what a preflight `OPTIONS` request is then see {% include faq-link.md faq="b7f6" %}.
14+
If you are unclear what a preflight `OPTIONS` request is then see {% include faq-link.html faq="b7f6" %}.
1515

1616
If you've attempted to configure the CORS headers but you're still seeing this message then try
17-
{% include faq-link.md faq="ea74" %}.
17+
{% include faq-link.html faq="ea74" %}.
1818

1919
If you are making the request using the `fetch` API then you'll also see the following text at the end of the error
2020
message:
@@ -23,5 +23,5 @@ message:
2323
If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
2424
</blockquote>
2525

26-
For more information about opaque responses see {% include faq-link.md faq="dfdb" %}. Using an opaque response will
26+
For more information about opaque responses see {% include faq-link.html faq="dfdb" %}. Using an opaque response will
2727
suppress the error message but it won't allow you to access the response details.

_error-messages/bbd3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ returned with an explicit empty value.
1919
If the error message indicates that the current value is `'true, true'` then that suggests that the header is being
2020
returned twice.
2121

22-
See also {% include faq-link.md faq="fcd5" %}.
22+
See also {% include faq-link.html faq="fcd5" %}.

_error-messages/d514.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ message: "Response to preflight request doesn't pass access control check: The '
44
---
55

66
This error specifically refers to the preflight `OPTIONS` request but is otherwise identical to
7-
{% include error-link.md message="f5ab" text="an earlier error message" %}.
7+
{% include error-link.html message="f5ab" text="an earlier error message" %}.
88

9-
If you are unclear what a preflight `OPTIONS` request is then see {% include faq-link.md faq="b7f6" %}.
9+
If you are unclear what a preflight `OPTIONS` request is then see {% include faq-link.html faq="b7f6" %}.

_error-messages/d897.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ message:
4949
mode to 'no-cors' to fetch the resource with CORS disabled.
5050
</blockquote>
5151

52-
For more information about opaque responses see {% include faq-link.md faq="dfdb" %}. Using an opaque response will
52+
For more information about opaque responses see {% include faq-link.html faq="dfdb" %}. Using an opaque response will
5353
suppress the error message but it won't allow you to access the response details.

_error-messages/da36.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ message: "Response to preflight request doesn't pass access control check: The '
44
---
55

66
This error specifically refers to the preflight `OPTIONS` request but is otherwise identical to
7-
{% include error-link.md message="d897" text="an earlier error message" %}.
7+
{% include error-link.html message="d897" text="an earlier error message" %}.
88

9-
If you are unclear what a preflight `OPTIONS` request is then see {% include faq-link.md faq="b7f6" %}.
9+
If you are unclear what a preflight `OPTIONS` request is then see {% include faq-link.html faq="b7f6" %}.

0 commit comments

Comments
 (0)