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

Use the uri returned by the meta API as host #485

Open
1 task
MomentQYC opened this issue Dec 4, 2024 · 0 comments
Open
1 task

Use the uri returned by the meta API as host #485

MomentQYC opened this issue Dec 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MomentQYC
Copy link

💡 Summary

There are currently many instances that serve instance pages via a reverse proxy on non-instance domains for various reasons. For example, if an instance's domain name is aaa.com, it could potentially be served at bbb.com or 123.aaa.com. Using Aria in this case will result in incorrect host issues, which can cause a number of anomalies and inconveniences.
The solution is that you should get the real instance domain name from (domain)/api/meta

🥰 Expected Behavior

see above

🤬 Actual Behavior

Users that are supposed to be [email protected] are incorrectly shown as [email protected] or [email protected]

📝 Steps to Reproduce

Use the non-instance domain (in this case is bbb.com or 123.aaa.com) and login.

💻 Environment

Not related

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request
@MomentQYC MomentQYC added the bug Something isn't working label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant