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

find a bug when try to send xmr use openalias #55

Open
yumusb opened this issue May 14, 2022 · 4 comments
Open

find a bug when try to send xmr use openalias #55

yumusb opened this issue May 14, 2022 · 4 comments

Comments

@yumusb
Copy link

yumusb commented May 14, 2022

when somebody want to send xmr to a domain.(openalias)

browser will use this api to resolve domain:
https://cloudflare-dns.com/dns-query?ct=application/dns-json&name=xxxxxx&type=TXT

this api will return http 400, because the correct usage is:

curl -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=example.com&type=AAAA'

should set header accept: application/dns-json for this api.

https://github.com/mymonero/mymonero-app-js/blob/ee23579bfabdfefdf18adf10d733f8c895bd07ca/local_modules/OpenAlias/TXTResolver.web.js

@karlbuys
Copy link
Collaborator

Hi there. Thank you for reporting this.

I've tested our latest release, v1.2.7, and it resolves donate.getmonero.org without any issue.

Please try update to the latest desktop release and see if this solves your problem

@yumusb
Copy link
Author

yumusb commented May 16, 2022

i try it on https://wallet.mymonero.com/ , the api return 400

@karlbuys karlbuys transferred this issue from mymonero/mymonero-app-js May 16, 2022
@karlbuys
Copy link
Collaborator

Thanks for letting us know. I've moved this into the web repository, and will address it

@yumusb
Copy link
Author

yumusb commented May 16, 2022

Copy that. Thanks.

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

No branches or pull requests

2 participants