Improve referer check conditions (SECURITY)

Version 1.512

Bugfix
Finished

Improve referer checking for certain scenarios.

Interested to try DirectAdmin? Get a 30-day Free Trial!