Correctly distinguish between example.com and example.com/.