Changed URL validating from real Head request to simple regex check.