Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete fails for umlaut domains #910

Closed
magicsunday opened this issue Apr 2, 2019 · 11 comments
Closed

Autocomplete fails for umlaut domains #910

magicsunday opened this issue Apr 2, 2019 · 11 comments
Labels

Comments

@magicsunday
Copy link

If I store a password for a umlaut domain (a domain containing ä, ö or ü), the password autocomplete fails. If have to use the puny code style type of the domain to get it working. Which is not very handy.

Seems not only a issue in the browser extension, but also in the IOS app.

@kspearrin
Copy link
Member

Can you provide an example website where I can test this, please?

@magicsunday
Copy link
Author

@kspearrin
Copy link
Member

When I visit this website, in my browser tools if I check document.location.href, I get the following:

> document.location.href
"https://obs.xn--brgerhaus-q9a.de/"

Any idea why?

@kspearrin
Copy link
Member

I guess that is the puny code version of the domain. The browser doesn't report it the way that includes the umlaut.

@magicsunday
Copy link
Author

Yes https://obs.xn--brgerhaus-q9a.de/ is the puny code version of the domain. If I store this one as url in the vault record, the autocomplete is successful.

@kspearrin
Copy link
Member

For now, we can only support puny code versions of the domain. An external library would be required to decode it back if we wanted to support it further in the future.

@magicsunday
Copy link
Author

Are there no external libs yet?

@Crocmagnon
Copy link
Contributor

As a workaround, is there somewhere we can convert a domain with accents to its puny code version ? Non ascii characters in domain names will likely appear more and more

@kspearrin
Copy link
Member

If you view the website in your browser then open Bitwarden, click "Add New" from the "current tab" page. The prefilled info for the website is the puny code version, which is what the browser reports the domain as.

@cvvvlad
Copy link

cvvvlad commented May 6, 2021

Hello! Autocomplete not working when I'm using russian punycode in Regular Expressions.
The website I'm trying is https://президентскиегранты.рф/ (punycode https://xn--80afcdbalict6afooklqi5o.xn--p1ai).
I tryied this regular expressions:
^https:\/\/президентскиегранты\.рф and ^https:\/\/xn--80afcdbalict6afooklqi5o\.xn--p1ai but it is not working on main page.

@bitwarden-bot
Copy link

Hi @magicsunday,
We're cleaning up our repositories in preparation for a major reorganization. Issues from last year will be marked as stale and closed after two weeks. If you still need help, comment to let us know and we'll look into it.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants