mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Make the parsing logic of the QR code URI more robust
This commit is contained in:
parent
cd42b0dc65
commit
2bf3546971
2 changed files with 3 additions and 3 deletions
|
@ -108,7 +108,7 @@ public class ScannerActivity extends AegisActivity implements ZXingScannerView.R
|
|||
public void handleResult(Result rawResult) {
|
||||
try {
|
||||
// parse google auth uri
|
||||
GoogleAuthInfo info = GoogleAuthInfo.parseUri(rawResult.getText());
|
||||
GoogleAuthInfo info = GoogleAuthInfo.parseUri(rawResult.getText().trim());
|
||||
VaultEntry entry = new VaultEntry(info);
|
||||
|
||||
Intent intent = new Intent();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue