Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: Invalid URL protocol, when accessing ProtonDrive #386

Closed
edmundlaugasson opened this issue Mar 22, 2021 · 1 comment
Closed

error: Invalid URL protocol, when accessing ProtonDrive #386

edmundlaugasson opened this issue Mar 22, 2021 · 1 comment
Labels

Comments

@edmundlaugasson
Copy link

edmundlaugasson commented Mar 22, 2021

Using ElectronMail 4.11.0 (Flatpak). When opening ProtonDrive, the following error appears:

Unhandled Error
TypeError: Invalid URL protocol
    at default_1.parse (/app/ElectronMail/resources/app.asar/node_modules/@cliqz/url-parser/build/cjs/lib/immutable-url.js:420:23)
    at new default_1 (/app/ElectronMail/resources/app.asar/node_modules/@cliqz/url-parser/build/cjs/lib/immutable-url.js:54:14)
    at new default_1 (/app/ElectronMail/resources/app.asar/node_modules/@cliqz/url-parser/build/cjs/lib/url.js:41:20)
    at Object.depersonalizeProtonApiUrl (/app/ElectronMail/resources/app.asar/app/electron-main.js:7452:10)
    at replacer (/app/ElectronMail/resources/app.asar/app/electron-main.js:7469:41)
    at String.replace (<anonymous>)
    at Object.result [as depersonalizeLoggedUrlsInString] (/app/ElectronMail/resources/app.asar/app/electron-main.js:7470:37)
    at Object.<anonymous> (/app/ElectronMail/resources/app.asar/app/electron-main.js:5499:147)

I understand, that ProtonDrive is for invited users only for now, but it should announce it without such an error. This error appears before that invited users only message comes.
I remember, that with earlier versions of ElectronMail, I didn't see such an error.

@edmundlaugasson edmundlaugasson changed the title error: Invalid URL protocol error: Invalid URL protocol, when accessing ProtonDrive Mar 22, 2021
vladimiry added a commit that referenced this issue Mar 22, 2021
vladimiry added a commit that referenced this issue Mar 22, 2021
@vladimiry
Copy link
Owner

vladimiry commented Mar 22, 2021

This is a good finding. Fixed in the wip branch. Not promising but a new release might come at the end of the week.

I remember, that with earlier versions of ElectronMail, I didn't see such an error.

The bug was introduced just recently in an attempt to make logged URLs parsed from the raw errors/data more private.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants