pfSense/pfsense f8560a1src/etc/inc auth_func.inc

Privilege matching -- allow JS anchors. Fixes #9550

Attempts to detect a special case where a file does not actually
exist, and yet should be allowed since it is used by JavaScript.

So long as the anchor name doesn't contain any characters that might let
it evade other checks, allow it through.

(cherry picked from commit bdbd8534eef5b93370065340de225a1cd5e5faa8)
DeltaFile
+10-0src/etc/inc/auth_func.inc
+10-01 files

UnifiedSplitRaw