Files
node/doc/api
Rafael Gonzaga e615b9e2f2 doc: clarify fileURLToPath security considerations
Add clarification that fileURLToPath() decodes encoded
dot-segments (%2e%2e) which are normalized as path traversal.
Applications must perform their own path validation to
prevent directory traversal attacks.

Also applies to fileURLToPathBuffer().

PR-URL: https://github.com/nodejs/node/pull/60887
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2026-02-24 00:37:02 +01:00
..
2025-08-04 13:29:03 +02:00
2025-01-05 13:05:31 -05:00
2024-11-27 11:03:27 -05:00
2025-08-25 17:02:57 +02:00
2025-09-20 06:16:02 +00:00
2026-02-24 00:36:43 +01:00
2026-02-24 00:36:43 +01:00
2026-02-24 00:36:42 +01:00
2025-08-27 00:06:26 +01:00
2025-08-04 13:29:03 +02:00
2025-08-04 13:29:03 +02:00
2025-08-04 13:29:03 +02:00
2025-08-04 13:29:03 +02:00
2025-08-04 13:29:03 +02:00
2025-08-04 13:29:03 +02:00
2026-02-24 00:36:28 +01:00
2025-01-05 12:57:23 -05:00
2026-02-24 00:36:56 +01:00
2025-08-04 13:29:03 +02:00
2025-08-04 13:29:03 +02:00
2025-06-24 09:41:14 +02:00
2025-08-04 13:29:03 +02:00