View source: R/handlers-static.R
path_is_safe_for_cran | R Documentation |
Tests if the requested resource maps to a safe path in the respository, i.e., that it points to '/src/contrib', '/bin/windows/contrib' or '/bin/macosx/contrib', and does not attempt to weasle back out with '..'.
path_is_safe_for_cran(s)
s |
The path to check, typically 'req$PATH_INFO' in a request handler. |
Logical
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.