datasets icon indicating copy to clipboard operation
datasets copied to clipboard

Sanitize the extensions of URLs with query parameters correctly

Open martenlienen opened this issue 2 years ago • 0 comments

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

martenlienen avatar Mar 28 '22 15:03 martenlienen