We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30c1c89 commit b109211Copy full SHA for b109211
injected/src/features/autofill-import.js
@@ -598,7 +598,10 @@ export default class AutofillImport extends ActionExecutorBase {
598
// Run with retry forever until the download link is available,
599
// Android is the one that timesout anyway and closes the whole tab if this doesn't complete
600
601
- const exportId = window.location.pathname.split('/').pop();
+ const exportId = window.location.pathname
602
+ .split('/')
603
+ .filter((segment) => segment)
604
+ .pop();
605
606
if (!exportId) {
607
this.postBookmarkImportMessage('actionCompleted', {
0 commit comments