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

malformed test URLs #250

Open
technicat opened this issue Feb 10, 2024 · 2 comments
Open

malformed test URLs #250

technicat opened this issue Feb 10, 2024 · 2 comments

Comments

@technicat
Copy link
Contributor

Some test JSON files have escape slashes in their URLs, probably from the previous version of the TootClient debug print, e.g. this from scheduled_post_attachment.json

"preview_url" : "https:\/\/media.universeodon.com\/media_attachments\/files\/110\/884\/868\/918\/054\/337\/small\/93d235b25788c9fd.jpeg",
@kkostov
Copy link
Contributor

kkostov commented Feb 12, 2024

@technicat Good catch! I guess if no tests are failing we're probably not using the values. Did you encounter issues while working on the translations or elsewhere?

@technicat
Copy link
Contributor Author

I noticed it way back when I filed the bug about the debug printer outputting those slashes when I was generating test feils, at first I thought it was something new then I saw it was in a bunch of older test files. i just didn't file a bug til now.

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