labkey.setWafEncoding: Helper function to enable/disable wafEncoding mode.

View source: R/labkey.defaults.R

labkey.setWafEncodingR 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)

Rlabkey documentation built on Nov. 8, 2023, 1:06 a.m.