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

Fix resolving vanity for private profiles returning error #315

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

3urobeat
Copy link
Contributor

@3urobeat 3urobeat commented Jun 27, 2023

This PR fixes #313 (again)
Steam does not provide a customURL key in the XML data for private profiles which is something I did not expect when working on the previous PR.

To keep support for providing /profiles/steamID64 links I have added an if check that only parses the URL param as a fallback option.
If a /profiles/steamID64 link was provided to a private profile there is nothing we can do so I am returning an empty string.

I hope there is no other oversight hidden in this function now

@3urobeat
Copy link
Contributor Author

3urobeat commented May 5, 2024

Hey, sorry for bumping, but it would be cool if you could review this PR as it fixes bugs present in the master branch.
(There are also two more of my PRs still open, but they add new features and merge into v4 instead)

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

Successfully merging this pull request may close these issues.

Resolving vanity returns error
1 participant