Policy compilation warning after upgrading to SGOS 18.104.22.168
Article ID: 168648
Asset Management SolutionProxySG Software - SGOS
After upgrading to SGOS 22.214.171.124, you receive the error URL includes query component which shall be ignored inside category definition when installing policy, even though the same policy installed fine in previous versions.
When you install policy the error indicates that the query component will be ignored, this means that anything after the question mark will be ignored.
If the URL in policy is example.com/video/?search=example, the rule will only match based on example.com/video/. This could potentially create many unwanted matched rules as it will allow anything after '…/video/'.
A change was made in 126.96.36.199 and later in regards to how URLs are treated within a custom category.
This is only an issue with policy-based categories. The standard URL definition process functions as expected.
Via CPL(The double quotes are needed on each line): Define condition query_urls url=” example.com/video/?search=example1” url=” example.com/video/?search=example2” url=” example.com/video/?search=example3” url=” example.com/video/?search=example4” End <proxy> Condition= query_urls allow|deny
Via VPM: Add each URL as an individual object, then create a Combined Destination object that contains all of the newly created objects. Once complete replace your existing Category with the new Combined Object and install.