ADC

Bypassing the Safety Check

Warning:

The Bypass Safety Check parameter is deprecated from NetScaler 12.0 build 56.20 onwards. However, Bypass Safety Check parameter is removed and no longer available on the Citrix ADC appliance release 13.1 onwards.

When you create a rewrite action, the Citrix ADC verifies that the expression you used to create the action is safe. Expressions created by the Citrix ADC from run-time data, such as URLs contained in HTTP requests, can cause unexpected errors. The Citrix ADC reports expressions that cause such errors as unsafe expressions.

In some cases, the expressions may be safe. For example, the Citrix ADC cannot validate an expression that contains a URL that does not resolve, even if the URL does not resolve because the Web server is temporarily unavailable. You can manually bypass the Safety Check to allow these expressions.

To bypass the safety check by using the command line interface

At the command prompt, type the following commands to bypass the safety check and verify the configuration:

  • -bypassSafetyCheck YES

Example:

> set rewrite action insertact -bypassSafetyCheck YES Done > show rewrite action insertact Name: insertact Operation: insert_http_header Target:Client-IP Value:CLIENT.IP.SRC BypassSafetyCheck : YES Hits: 0 Undef Hits: 0 Action Reference Count: 2 Done 

To bypass safety check by using the configuration utility

  1. Navigate toAppExpert>Rewrite>Actions.
  2. In the details pane, select the rewrite action to be exempted from the safety check, and then clickOpen.
  3. In theConfigure Rewrite Actiondialog box, select theBypass Safety Checkcheck box.
  4. ClickOK.
Bypassing the Safety Check