Skip to content

Conversation

@drgrice1
Copy link

The environment variable is RSERVE_DISABLE_LOCAL_FILE. If this environment variable is set, the the get_file method of the Statistics::R::IO::Rserve package will ignore the $local parameter if set, and not save the file to that file name. It will merely return the $data retrieved from Rserve.

This will be used by WeBWorK and PG to prevent a problem from attempting to save a file outside of the allowed html temporary directory.

@drgrice1 drgrice1 force-pushed the env-disable-local-file-save branch 2 times, most recently from e6f12e6 to 16982c0 Compare March 28, 2025 19:06
The environment variable is `RSERVE_DISABLE_LOCAL_FILE`.  If this
environment variable is set at compile time, the the `get_file` method
of the `Statistics::R::IO::Rserve` package will ignore the `$local`
parameter if set, and not save the file to that file name.  It will
merely return the `$data` retrieved from Rserve.

This will be used by WeBWorK and PG to prevent a problem from attempting
to save a file outside of the allowed html temporary directory.
@drgrice1 drgrice1 force-pushed the env-disable-local-file-save branch from 16982c0 to 9eab1a2 Compare March 29, 2025 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant