You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by "jrgemignani (via GitHub)" <gi...@apache.org> on 2025/12/16 01:51:44 UTC

[PR] Restrict age_load commands [age]

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: commits-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Restrict age_load commands [age]

Posted by "MuhammadTahaNaveed (via GitHub)" <gi...@apache.org>.
MuhammadTahaNaveed merged PR #2274:
URL: https://github.com/apache/age/pull/2274


-- 
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: commits-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org