Improved resiliance url preprocessing (TUI-43)