Skip to content

Conversation

@erayd
Copy link
Collaborator

@erayd erayd commented Mar 31, 2019

What

Use match() to split the line, instead of split() with a second argument.

Why

Because split() truncates remaining parts, which means that lines containing more than one : character would be truncated.

@erayd erayd requested a review from max-baz March 31, 2019 13:43
@max-baz max-baz merged commit 25e9435 into browserpass:master Mar 31, 2019
@erayd erayd deleted the fix-split branch March 31, 2019 13:54
fkneist pushed a commit to fkneist/browserpass-extension that referenced this pull request Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants