Files
node/doc/api
Rafael Gonzaga 6f7f51b8f1 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>
2025-11-30 22:02:12 +00:00
..
2025-07-15 17:18:42 +00:00
2025-06-09 23:45:29 +02:00
2025-11-08 17:09:29 +00:00
2025-11-08 17:09:29 +00:00
2025-11-08 14:34:49 +00:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-08-29 02:24:57 +00:00
2025-07-15 17:18:42 +00:00
2025-06-09 23:45:29 +02:00
2025-11-15 21:38:08 +00:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-10-21 01:45:50 +02:00
2025-07-15 17:18:42 +00:00