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

Certain posts with invalid date in the cards can crash Phanpy #505

Open
brawaru opened this issue Apr 18, 2024 · 0 comments
Open

Certain posts with invalid date in the cards can crash Phanpy #505

brawaru opened this issue Apr 18, 2024 · 0 comments
Labels
bug Something isn't working in progress

Comments

@brawaru
Copy link

brawaru commented Apr 18, 2024

Describe the bug
A clear and concise description of what the bug is.

  • Which site: phanpy.social and dev.phanpy.social
  • Which site version:
  • Which instance: mstdn.social

To Reproduce
Steps to reproduce the behaviour:

  1. Attempt to resolve https://social.coop/users/00Aaron/statuses/112292238988205731
  2. Notice the post never loads
  3. Notice the page is not responsible anymore

This can also happen when you are just scrolling the federated feed and accidentally stumble upon this post. Theoretically I can boost it and anyone who follows me and uses Phanpy will have it crash 🤭

Expected behavior
Post would load and show Invalid Date like Mastodon does. Or maybe not show the date at all.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Firefox
  • Version: 125.0.1

Additional context
This post has a card which is published at -0001-11-30T00:00:00.000Z 🫡

source

@cheeaun cheeaun added bug Something isn't working in progress labels Apr 18, 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 in progress
Projects
None yet
Development

No branches or pull requests

2 participants