I find this line quite hard to read. Is it validating both `:referrer` and `:url` by the same criteria?