diff --git a/build/xcode/Save to Raindrop.io/Save to Raindrop.io.xcodeproj/project.xcworkspace/xcuserdata/exentrich.xcuserdatad/UserInterfaceState.xcuserstate b/build/xcode/Save to Raindrop.io/Save to Raindrop.io.xcodeproj/project.xcworkspace/xcuserdata/exentrich.xcuserdatad/UserInterfaceState.xcuserstate index 18e3176f..4fc41e54 100644 Binary files a/build/xcode/Save to Raindrop.io/Save to Raindrop.io.xcodeproj/project.xcworkspace/xcuserdata/exentrich.xcuserdatad/UserInterfaceState.xcuserstate and b/build/xcode/Save to Raindrop.io/Save to Raindrop.io.xcodeproj/project.xcworkspace/xcuserdata/exentrich.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/src/co/picker/file/drop/module.js b/src/co/picker/file/drop/module.js index 19cbbafb..33587e74 100644 --- a/src/co/picker/file/drop/module.js +++ b/src/co/picker/file/drop/module.js @@ -79,7 +79,10 @@ export default class DropModule extends React.Component { const found = e.dataTransfer.getData(record.type) .split('\n') .map(v=>v.trim()) - .filter(v=>URL.canParse(v) && new URL(v).host != location.host) + .filter(v=>{ + try { return new URL(v).host != location.host } + catch(e) { return false } + }) for(const link of found) if (!links.includes(link))