Imported from Lastpass, missing "http://" prefix on URLs

I have hundreds of entries missing the "http://" or "https://" prefix on the login URLs after I imported from Lastpass. While login is not failing, rich icon download is. I have to manually edit the URL to add the missing protocol prefix to get icon download working.

Is there a quick way to resolve this?


1Password Version: 4.6.0.BETA-597
Extension Version: Not Provided
OS Version: Windows 10
Sync Type: Dropbox

Comments

  • MikeT
    edited December 2015

    Hi @tmchow,

    Not really but you could bulk edit the export file to add the missing protocols and import it again into 1Password. @MrC might have a better idea.

  • MrC
    MrC
    Volunteer Moderator

    @tmchow,

    You could try my LastPass converter in the converter suite. It will store into the 1PIF that you'll import the actual URL value that LastPass exports.

    Use the 1.08 version in Testing Bits.

  • tmchow
    tmchow
    Community Member

    @MrC I imported awhile ago and nuked my lastpass account. I'm just getting around to fixing this problem, so can't convert from Lastpass again.

  • MrC
    MrC
    Volunteer Moderator
    edited December 2015

    @tmchow,

    Ok, then, it may be non-trivial to change these outside the UI, but here's what needs to be done. Be sure to create a Backup before importing the modified 1PIF, in case something goes wrong.

    To bulk fix these, you could export to 1PIF, and use a text editor to bulk change URLs. They are located in two places in each entry in the 1PIF. the first one is the main URL used, and you'll search for the keyword with quotes "location".

    "location":"www.example.com"
    

    and change it to:

    "location":"http:\/\/website.example.com"
    

    or https, as appropriate.

    The second place for URLs in the entry is an array of URLs for the login, but these are less important:

    "URLs":[{"label":"website","url":"www.example.com"},{"label":"website 2","url":"www2.example.com"},{"label":"website 3","url":"www3.example.com"}]
    
  • Hi @tmchow,

    Please be careful with these 1PIF files, they are not encrypted. Do not store them in any cloud folders or any public locations. After you're done, be sure to trash them securely when you can.

This discussion has been closed.