@angular/ssr 22.0.4 → 22.1.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/_validation-chunk.mjs +124 -5
- package/fesm2022/_validation-chunk.mjs.map +1 -1
- package/fesm2022/node.mjs +5 -3
- package/fesm2022/node.mjs.map +1 -1
- package/fesm2022/ssr.mjs.map +1 -1
- package/package.json +11 -11
- package/third_party/beasties/index.js +37 -30
- package/third_party/beasties/index.js.map +1 -1
- package/types/_app-engine-chunk.d.ts +2 -2
- package/types/node.d.ts +1 -1
|
@@ -68,12 +68,12 @@ interface AngularAppEngineOptions {
|
|
|
68
68
|
*/
|
|
69
69
|
allowedHosts?: readonly string[];
|
|
70
70
|
/**
|
|
71
|
-
* Extends the scope of trusted proxy headers (`X-Forwarded-*`).
|
|
71
|
+
* Extends the scope of trusted proxy headers (`Forwarded` or `X-Forwarded-*`).
|
|
72
72
|
*
|
|
73
73
|
* @remarks
|
|
74
74
|
* **This is a security-sensitive option!**
|
|
75
75
|
*
|
|
76
|
-
* When `trustProxyHeaders` is enabled, request headers such as `X-Forwarded-Host
|
|
76
|
+
* When `trustProxyHeaders` is enabled, request headers such as `Forwarded`, `X-Forwarded-Host`, and
|
|
77
77
|
* `X-Forwarded-Prefix` are trusted by the server and used for routing. These
|
|
78
78
|
* headers must be strictly validated and provided by a trusted client (e.g., at a reverse proxy, load
|
|
79
79
|
* balancer, or API gateway) and must *not* be provided by untrusted end users.
|
package/types/node.d.ts
CHANGED
|
@@ -195,7 +195,7 @@ declare function writeResponseToNodeResponse(source: Response, destination: Serv
|
|
|
195
195
|
* @param trustProxyHeaders - A boolean or an array of proxy headers to trust when constructing the request URL.
|
|
196
196
|
*
|
|
197
197
|
* @remarks
|
|
198
|
-
* When `trustProxyHeaders` is enabled, headers such as `X-Forwarded-Host
|
|
198
|
+
* When `trustProxyHeaders` is enabled, headers such as `Forwarded`, `X-Forwarded-Host`, and
|
|
199
199
|
* `X-Forwarded-Prefix` should ideally be strictly validated at a higher infrastructure
|
|
200
200
|
* level (e.g., at the reverse proxy or API gateway) before reaching the application.
|
|
201
201
|
*
|