User object for MS Edge(all) is not working
search cancel

User object for MS Edge(all) is not working

book

Article ID: 263504

calendar_today

Updated On:

Products

ProxySG Software - SGOS Advanced Secure Gateway Software - ASG

Issue/Introduction

When we use the "User-Agent" Object and select MS Edge to allow or block the request, it doesn't work. However, it works for Chrome and Firefox.

Cause

When you select the User-Agent object and "MS Edge" it creates the below Regex:

request.header.User-Agent="^Mozilla/\d+\.0 \(Windows (Phone|NT).*\) AppleWebKit.*Chrome.*Safari.*Edge/\d+.*"

When we use this regex proxy is unable to judge which browser it's referring to as we don't have any delimiter set.

Resolution

In order to resolve this issue please create a "Request Header Object" with the below Regex:

^Mozilla/\d+\.0 \(Windows (Phone|NT).*\) AppleWebKit.*Chrome.*Safari.*Edg/\d+.*