Learn R Programming

Rlabkey (version 3.3.0)

labkey.setWafEncoding: 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

Cory Nathe

Examples

Run this code
if (FALSE) {

library(Rlabkey)
labkey.setWafEncoding(FALSE)
labkey.executeSql(
    baseUrl="http://localhost:8080/labkey",
    folderPath="/home",
    schemaName="core",
    sql = "select * from containers")

}

Run the code above in your browser using DataLab