Backward compatibility fix for existing IIS URLs. See #363