[Optimization] Replace preg_replace by str_replace in updateUrl($url) function
Windows issue ? Do not check if input collection file is a JSON file based on mimeType