Regex conditions "for any part of the message" do not work if they contain unescaped '/' or '\' characters,
search cancel

Regex conditions "for any part of the message" do not work if they contain unescaped '/' or '\' characters,

book

Article ID: 266118

calendar_today

Updated On:

Products

Messaging Gateway

Issue/Introduction

Content filtering rules in Symantec Messaging Gateway (SMG) fail to match message data when using regular expressions that contain unescaped forward slashes (/) or backslashes (\). This impact is most visible when creating "for any part of the message" conditions intended to scan URLs or system paths within email body or attachments.

Environment

Symantec Messaging Gateway (SMG) 10.7.x

Symantec Messaging Gateway (SMG) 10.8.x

Cause

The forward slash is a reserved meta-character in the SMG regular expression engine. Versions prior to 10.8.1 do not consistently escape these characters automatically, leading to a mismatch during the scanning process.

Resolution

This issue is resolved in Messaging Gateway 10.8.1 and higher. In this version, unescaped / and \ characters in content rules match message data as expected.

  1. Upgrade the system to version 10.8.1 or later.
  2. See Download Broadcom products and software for steps to download this release.
  3. Subscribe to Fix Status Updates to stay informed on future releases.

If you are unable to upgrade and require immediate assistance, see Contact Support.