Local Database URLs with inline comments fail to match policy - Edge SWG
search cancel

Local Database URLs with inline comments fail to match policy - Edge SWG

book

Article ID: 436128

calendar_today

Updated On:

Products

ISG Proxy ProxySG Software - SGOS

Issue/Introduction

Local database URLs with comments, example:

  • define category my_allowed_urls
        example.com;Added following John request
        bestapp.eu;Added for HR department
        social.com;Added for testing
    end

Are not matching the client requests, resulting in the proxy policies failing to apply.

Environment

SGOS 7.3.26.1, 7.4.10.1 or above

Cause

New feature was introduced in SGOS 7.3.26.1 and 7.4.10.1 where text files for local databases can include in the URL the characters:

  • ( ) ! & | = ' " [ ]< > ; ,

In the above example the text record "example.com;Added" is considered as a full URL and will never match the proxy transaction:

  • "example.com;Added" <> "example.com"

Resolution

Update the database records by adding a single space between the URL and the (semicolon) character preceding the comment.

Here is the corrected example:

  • define category my_allowed_urls
        example.com ;Added following John request
        bestapp.eu ;Added for HR department
        social.com ;Added for testing
    end