labkey.setWafEncoding {Rlabkey} | R Documentation |
Helper function to enable/disable wafEncoding mode.
Description
By default, this command encodes the SQL parameter to allow it to pass through web application firewalls. This is compatible with LabKey Server v23.9.0 and above. If targeting an earlier server, pass FALSE to this method.
Usage
labkey.setWafEncoding(wafEncode = TRUE)
Arguments
wafEncode |
a boolean specifying if wafEncode mode is enabled or disabled |
Author(s)
Cory Nathe
Examples
## Not run:
library(Rlabkey)
labkey.setWafEncoding(FALSE)
labkey.executeSql(
baseUrl="http://localhost:8080/labkey",
folderPath="/home",
schemaName="core",
sql = "select * from containers")
## End(Not run)
[Package Rlabkey version 3.2.3 Index]