datasets
datasets copied to clipboard
Sanitize the extensions of URLs with query parameters correctly
With this fix, the extension is taken from the path of the URL instead of the complete URL. The previous implementation would erroneously search for an extension in the query and params part of the URL. Additionally, a mistake is fixed where very long "extensions" could have the returned path break the max_length.
Best, Marten