From 62a7c8e3df995a7f3a643a19dec1b23d76cc424c Mon Sep 17 00:00:00 2001 From: Philip Heltweg Date: Wed, 7 Feb 2024 11:41:02 +0100 Subject: [PATCH] docs: :memo: Updated documentation of LocalFileExtractor to call out forbidden path traversal --- .../src/stdlib/builtin-blocktypes/LocalFileExtractor.jv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/language-server/src/stdlib/builtin-blocktypes/LocalFileExtractor.jv b/libs/language-server/src/stdlib/builtin-blocktypes/LocalFileExtractor.jv index b31641ae..a4f7a3c5 100644 --- a/libs/language-server/src/stdlib/builtin-blocktypes/LocalFileExtractor.jv +++ b/libs/language-server/src/stdlib/builtin-blocktypes/LocalFileExtractor.jv @@ -5,7 +5,7 @@ /** * Extracts a `File` from the local file system. * -* @example Fetches a file from the given local path. +* @example Extracts a file from the given path on the local file system. * block CarsFileExtractor oftype LocalFileExtractor { * filePath: "cars.csv"; * } @@ -15,7 +15,7 @@ builtin blocktype LocalFileExtractor { output default oftype File; /** - * The path to the file in the local file system to extract. + * The path to the file in the local file system to extract. Path can not traverse up the directory tree. */ property filePath oftype text;