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

Allow for handling of redirects of URL to stellar.toml #1052

Open
KyleSmith19091 opened this issue Sep 20, 2024 · 1 comment · May be fixed by #1053
Open

Allow for handling of redirects of URL to stellar.toml #1052

KyleSmith19091 opened this issue Sep 20, 2024 · 1 comment · May be fixed by #1053
Assignees

Comments

@KyleSmith19091
Copy link

Is your feature request related to a problem? Please describe.
Experienced an issue when trying to resolve the stellar.toml for this EURC issued asset, which when this URL is accessed redirects you to a different url where the toml file is hosted. I understand this might go against the standard set by the stellar foundation, but I feel like you should be able to have a flag that can handle redirects when trying to resolve the domain. If this is not wide issue I understand if this issue is not considered

Describe the solution you'd like
Add a flag to the Resolver.resolve options object to set some number of redirects which can then be passed the axios.get function.

Describe alternatives you've considered
I had to write custom logic on top of the stellar Resolver.resolve function to correctly handle this case.

@KyleSmith19091
Copy link
Author

Proposed solution: #1053

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

Successfully merging a pull request may close this issue.

1 participant