Please Note: This issue is specific to Netsweeper 7.2.10 or previous, either EL6 or EL8.
Symptoms
YouTube is not loading with YouTube Restricted mode.
Netsweeper is configured to enforce YouTube Restricted Mode via a header-injection list rule as per KB How do I enforce YouTube restricted mode with Netsweeper?
Solution
The fixes are targeted for the Netsweeper 7.2.11 release. In the mean time, you can apply the following patches. (Note: The "yum" and "service" commands need to be run as root.)
sudo -i
For Netsweeper 7.2 EL6
Command-to-run on proxy server:
yum upgrade http://repo.netsweeper.com/tickets/Ticket-NS-41-nsproxy-icap-close-on-error/ns_proxy-7.2.10.801-1.el6.x86_64.rpm
Command-to-run on policy server:
yum upgrade http://repo.netsweeper.com//tickets/Ticket-NS-63-policyserver-header-add-breakage-7.2.10.805/ns_policyserver-7.2.10.805-1.el6.x86_64.rpm
For Netsweeper 7.2 EL8
Command-to-run on proxy server:
yum upgrade http://repo.netsweeper.com/tickets/Ticket-NS-41-nsproxy-icap-close-on-error/ns_proxy-7.2.10.804-1.el8.x86_64.rpm
Command-to-run on policy server:
yum upgrade http://repo.netsweeper.com//tickets/Ticket-NS-63-policyserver-header-add-breakage-7.2.10.805/ns_policyserver-7.2.10.805-1.el8.x86_64.rpm
After applying the patches
After installing the patches, restart the nsdctl service and the nsproxyctl services.
If your policy server and your proxy server are both the same server then run each of these three commands on every server setup this way.
service nsdctl restart
service nsproxyctl restart