jrgemignani opened a new pull request, #2274:
URL: https://github.com/apache/age/pull/2274
This PR applies restrictions to the following age_load commands -
load_labels_from_file()
load_edges_from_file()
They are now tied to a specific root directory and are required to have a
specific file extension to eliminate any attempts to force them to access any
other files.
Nothing else has changed with the actual command formats or parameters, only
that they work out of the /tmp/age directory and only access files with an
extension of .csv.
Added regression tests and updated the location of the csv files for those
regression tests.
modified: regress/expected/age_load.out
modified: regress/sql/age_load.sql
modified: src/backend/utils/load/age_load.c
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]