mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 829995 - Ignore case of .url extension when migrating bookmarks from Internet Explorer. r=felipe
This commit is contained in:
parent
5d3cffbde4
commit
0344b4c7a3
@ -253,7 +253,7 @@ Bookmarks.prototype = {
|
||||
else {
|
||||
// Strip the .url extension, to both check this is a valid link file,
|
||||
// and get the associated title.
|
||||
let matches = entry.leafName.match(/(.+)\.url$/);
|
||||
let matches = entry.leafName.match(/(.+)\.url$/i);
|
||||
if (matches) {
|
||||
let fileHandler = Cc["@mozilla.org/network/protocol;1?name=file"].
|
||||
getService(Ci.nsIFileProtocolHandler);
|
||||
|
Loading…
Reference in New Issue
Block a user