Skip to content

Commit 4bbad59

Browse files
committed
Nomalize url extensions
1 parent 1bc854f commit 4bbad59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chrome/player/utils/URLUtils.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class URLUtils {
106106
}
107107

108108
static get_url_extension(url) {
109-
return this.strip_queryhash(url).split('.').pop().trim();
109+
return this.strip_queryhash(url).split('.').pop().trim().toLowerCase();
110110
}
111111

112112
static get_file_name(url) {

0 commit comments

Comments
 (0)