Skip to content

Plus sign in QR code not properly converted space #313

@ericsnap

Description

@ericsnap

Describe the bug:
When capturing a QR code where the URL contains a + within the issuer, it does not convert it to a space as the specs states (for query parameters not path elements).
The following QR code generates the entry ACME+2FA instead of ACME 2FA.

qr code with plus sign

Screen Shot 2019-04-05 at 11 39 08 AM

This URL was generated using JavaScript's default URL class.

It also displays without the + properly in several other apps like Microsoft and Google's Authenticator apps.

I will look into the code and see if I can figure out where it is and submit a PR... that doesn't seem like rocket science.

Platform:

  • Browser: Chrome
  • Browser Version: 73.0.3683.86 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions