⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
pfSense
All Projects
pfSense
Overview
Activity
Roadmap
Issues
Gantt
Calendar
News
Documents
Repository
«
Previous
|
Next
»
Revision d7bf3178
Added by
Erik Fonnesbeck
over 14 years
ago
ID
d7bf317824380189dd1176acd6ea1e8bf71650a9
Parent
2addd5b2
Child
8784a3bb
Various fixes and improvements for the DNS rebind and HTTP referrer checks.
Only compare with full host from referrer, since someone can put whatever they want at the left side of the period to the left of the domain name.
Now can check for hostname as well, not just hostname.domain, in referrer check.
Fix althostnames case for referrer check.
Move the simpler, more commonly used cases above the ones involving foreach loops and skip the loops when a name match has already been found.
Break out of foreach loops when a match has already been found.
Do case-insensitive matching of hosts and domains.
Remove useless checks of non-IP addresses against SERVER_ADDR.
Changes
View differences
added
modified
copied
renamed
deleted
etc
inc
auth.inc
(
diff
)
Loading...
Various fixes and improvements for the DNS rebind and HTTP referrer checks.