CB-5658 Fix whitelist crash when URL path has a space.