Skip to content

Commit ca26363

Browse files
mdn-botJosh-Cena
andauthored
fix: auto-cleanup by bot (#42169)
* chore: auto-fix Markdownlint, Prettier, and front-matter issues * Fix more --------- Co-authored-by: Joshua Chen <[email protected]>
1 parent 3907089 commit ca26363

File tree

186 files changed

+264
-269
lines changed

Some content is hidden

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

186 files changed

+264
-269
lines changed

files/en-us/games/tutorials/2d_breakout_game_phaser/initialize_the_framework/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The {{htmlelement("canvas")}} element is generated automatically by the framewor
7474

7575
## Running the application
7676

77-
To run the app, you cannot directly open the `index.html` file, because later we will be loading external assets, which will be blocked by the browser's [same-origin policy](/en-US/docs/Web/Security/Same-origin_policy).
77+
To run the app, you cannot directly open the `index.html` file, because later we will be loading external assets, which will be blocked by the browser's [same-origin policy](/en-US/docs/Web/Security/Defenses/Same-origin_policy).
7878

7979
To fix the problem, you need to run a local web server to serve the HTML files and the image files. [As the official document of Phaser suggests](https://docs.phaser.io/phaser/getting-started/set-up-dev-environment#installing-a-web-server), we have a lot of options to run a local web server. We also have our own [tutorials for setting up a local server](/en-US/docs/Learn_web_development/Howto/Tools_and_setup/set_up_a_local_testing_server)—use any option you prefer. For example, if you choose to use the Python HTTP server, then open a terminal, navigate to the directory where your `index.html` file is located, and run the following command:
8080

files/en-us/glossary/cors/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar: glossarysidebar
77

88
**CORS** (Cross-Origin Resource Sharing) is a system, consisting of transmitting {{Glossary("HTTP_header", "HTTP headers")}}, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.
99

10-
The [same-origin security policy](/en-US/docs/Web/Security/Same-origin_policy) forbids cross-origin access to resources. But CORS gives web servers the ability to say they want to opt into allowing cross-origin access to their resources.
10+
The [same-origin security policy](/en-US/docs/Web/Security/Defenses/Same-origin_policy) forbids cross-origin access to resources. But CORS gives web servers the ability to say they want to opt into allowing cross-origin access to their resources.
1111

1212
## CORS headers
1313

files/en-us/glossary/https/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sidebar: glossarysidebar
1111

1212
- [HTTPS](https://en.wikipedia.org/wiki/HTTPS) on Wikipedia
1313
- [Moving to HTTPS community guide](https://movingtohttps.com/)
14-
- [Secure Contexts](/en-US/docs/Web/Security/Secure_Contexts)
14+
- [Secure Contexts](/en-US/docs/Web/Security/Defenses/Secure_Contexts)
1515
- Related glossary terms:
1616
- {{glossary("HTTP")}}
1717
- {{glossary("TLS")}}

files/en-us/glossary/mitm/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ In physical mail and in online communication, MITM attacks are tough to defend.
1818
## See also
1919

2020
- OWASP: [Manipulator-in-the-middle attack](https://owasp.org/www-community/attacks/Manipulator-in-the-middle_attack)
21-
- PortSwigger: [Latest manipulator-in-the-middle attacks news](https://portswigger.net/daily-swig/mitm)
2221
- Wikipedia: [Man-in-the-middle attack](https://en.wikipedia.org/wiki/Man-in-the-middle_attack)

files/en-us/glossary/origin/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ These are not same origin because they use different ports:
5353

5454
## See also
5555

56-
- [Same-origin policy](/en-US/docs/Web/Security/Same-origin_policy)
56+
- [Same-origin policy](/en-US/docs/Web/Security/Defenses/Same-origin_policy)
5757
- Related glossary terms:
5858
- {{Glossary("Site")}}
5959
- [HTML specification: origin](https://html.spec.whatwg.org/multipage/origin.html#origin)

files/en-us/glossary/same-origin_policy/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ page-type: glossary-definition
55
sidebar: glossarysidebar
66
---
77

8-
The **[same-origin policy](/en-US/docs/Web/Security/Same-origin_policy)** is a critical security mechanism that restricts how a document or script loaded from one {{Glossary("origin")}} can interact with a resource from another origin.
8+
The **[same-origin policy](/en-US/docs/Web/Security/Defenses/Same-origin_policy)** is a critical security mechanism that restricts how a document or script loaded from one {{Glossary("origin")}} can interact with a resource from another origin.
99

1010
It helps isolate potentially malicious documents, reducing possible attack vectors.
1111

1212
## See also
1313

14-
- [Same-origin policy](/en-US/docs/Web/Security/Same-origin_policy)
14+
- [Same-origin policy](/en-US/docs/Web/Security/Defenses/Same-origin_policy)
1515
- Related glossary terms:
1616
- {{Glossary("CORS")}}
1717
- {{Glossary("origin")}}

files/en-us/glossary/secure_context/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ sidebar: glossarysidebar
77

88
A **secure context** is a `Window` or `Worker` in which certain minimum standards of authentication and confidentiality are met. Many Web APIs and features are only accessible in secure contexts, reducing the opportunity for misuse by malicious code.
99

10-
For more information see: [Web > Security > Secure Contexts](/en-US/docs/Web/Security/Secure_Contexts).
10+
For more information see: [Web > Security > Secure Contexts](/en-US/docs/Web/Security/Defenses/Secure_Contexts).

files/en-us/glossary/site/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ According to this definition, `support.mozilla.org` and `developer.mozilla.org`
1616
In some contexts, the scheme is also considered when differentiating sites. This would make `http://vpl.ca` and `https://vpl.ca` different sites. Including the scheme prevents an insecure (HTTP) site from being treated as the same site as a secure (HTTPS) site. A definition that considers the scheme is sometimes called a _schemeful same-site_. This stricter definition is applied in the rules for handling [`SameSite`](/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie#samesitesamesite-value) cookies.
1717

1818
> [!NOTE]
19-
> Browsers sometimes make security decisions (for example, deciding which resources a script can access) based on the {{Glossary("Origin")}} of a resource. This is a more restrictive concept than the site, encompassing the scheme, the whole domain, and the port. See also [same-origin policy](/en-US/docs/Web/Security/Same-origin_policy).
19+
> Browsers sometimes make security decisions (for example, deciding which resources a script can access) based on the {{Glossary("Origin")}} of a resource. This is a more restrictive concept than the site, encompassing the scheme, the whole domain, and the port. See also [same-origin policy](/en-US/docs/Web/Security/Defenses/Same-origin_policy).
2020
2121
## Examples
2222

@@ -45,4 +45,4 @@ These are the same site, or different sites if the scheme is considered:
4545
- [What is a URL](/en-US/docs/Learn_web_development/Howto/Web_mechanics/What_is_a_URL)
4646
- Related glossary terms:
4747
- {{Glossary("Origin")}}
48-
- [Same-origin policy](/en-US/docs/Web/Security/Same-origin_policy)
48+
- [Same-origin policy](/en-US/docs/Web/Security/Defenses/Same-origin_policy)

files/en-us/glossary/sri/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ sidebar: glossarysidebar
99

1010
## See also
1111

12-
- [Subresource Integrity](/en-US/docs/Web/Security/Subresource_Integrity)
12+
- [Subresource Integrity](/en-US/docs/Web/Security/Defenses/Subresource_Integrity)

files/en-us/glossary/ssl/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Secure Sockets Layer, or SSL, was the old standard security technology for creat
1010
## See also
1111

1212
- [Transport Layer Security](https://en.wikipedia.org/wiki/Transport_Layer_Security) (Wikipedia)
13-
- [Transport Layer Security (TLS) protocol](/en-US/docs/Web/Security/Transport_Layer_Security)
13+
- [Transport Layer Security (TLS) protocol](/en-US/docs/Web/Security/Defenses/Transport_Layer_Security)
1414
- Related glossary terms:
1515
- {{Glossary("HTTPS")}}
1616
- {{Glossary("TLS")}}

0 commit comments

Comments
 (0)