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

Wrong photo url encoding #129

Open
rass225 opened this issue Apr 15, 2024 · 0 comments
Open

Wrong photo url encoding #129

rass225 opened this issue Apr 15, 2024 · 0 comments

Comments

@rass225
Copy link

rass225 commented Apr 15, 2024

When trying to send a photo using sendPhotoAsync the encoding, the outcome is always an error:
Expected status code 200, got 400: Bad Request: invalid file HTTP URL specified: Wrong port number specified in the URL

It's because the slashes are converted into backslashes:
https://www.google.com -> https%3A%5C%2F%5C%2Fwww.google.com

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

1 participant