Import not working correctly #156

Closed
opened 2025-11-07 06:26:09 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @quthla on GitHub (Dec 13, 2018).

I imported the data from my previous vault into bitwarden_rs but today I noticed that the entries with custom regex broke. The regex was split into 2 url values for some reason.

According line from backup looks like this:
,,login,server.com,,,^https://server.com/(dasdasdaf|asdasdgasda)/,xyz@xyz.com,verysecretpassword,

Type also changed from regex to standard match. It got split exactly at the | which is also missing the second url value which now is only asdasdgasda)

Originally created by @quthla on GitHub (Dec 13, 2018). I imported the data from my previous vault into bitwarden_rs but today I noticed that the entries with custom regex broke. The regex was split into 2 url values for some reason. According line from backup looks like this: `,,login,server.com,,,^https://server.com/(dasdasdaf|asdasdgasda)/,xyz@xyz.com,verysecretpassword,` Type also changed from regex to standard match. It got split exactly at the `|` which is also missing the second url value which now is only `asdasdgasda)`
GiteaMirror added the bug label 2025-11-07 06:26:09 -06:00
Author
Owner

@dani-garcia commented on GitHub (Dec 13, 2018):

Does it work correctly when you import the file in the official server? The import files are parsed by the web vault before the data is sent to bitwarden_rs. We just save the data as it is received.

@dani-garcia commented on GitHub (Dec 13, 2018): Does it work correctly when you import the file in the official server? The import files are parsed by the web vault before the data is sent to bitwarden_rs. We just save the data as it is received.
Author
Owner

@quthla commented on GitHub (Dec 13, 2018):

Guess it's an upstream bug then if data is received like that. Maybe | is the separator multiple url values and so it's being split though it shouldn't

@quthla commented on GitHub (Dec 13, 2018): Guess it's an upstream bug then if data is received like that. Maybe `|` is the separator multiple url values and so it's being split though it shouldn't
Author
Owner

@dani-garcia commented on GitHub (Dec 17, 2018):

As we said, this is a limit upstream, so I'll close this.

@dani-garcia commented on GitHub (Dec 17, 2018): As we said, this is a limit upstream, so I'll close this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#156