[GH-ISSUE #288] Import not working correctly #156

Closed
opened 2026-03-03 01:25:58 +03:00 by kerem · 3 comments
Owner

Originally created by @quthla on GitHub (Dec 13, 2018).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/288

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). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/288 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)`
kerem 2026-03-03 01:25:58 +03:00
  • closed this issue
  • added the
    bug
    label
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.

<!-- gh-comment-id:447159918 --> @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

<!-- gh-comment-id:447161334 --> @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.

<!-- gh-comment-id:447950171 --> @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.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#156
No description provided.