YunoHost-Apps / pleroma_ynh

Pleroma package for YunoHost: A free, federated social networking server built on open protocols.
https://pleroma.social/
GNU Affero General Public License v3.0
31 stars 14 forks source link

Viewing external profiles via URL fails #218

Open csolisr opened 1 year ago

csolisr commented 1 year ago

Describe the bug

When attempting to directly view an external account profile via URL (in the form https://social.example.net/users/$NNNNNNNN), the display fails. Viewing it indirectly does display the information, but reloading the tab fails

Context

Steps to reproduce

  1. Go to your profile
  2. Click on any of your follower's profiles that is hosted in another instance, this should open a URL on the form https://social.example.net/users/$NNNNNNNN and let you display the profile information.
  3. Copy that URL and open it in a new tab. A JSON error stating "not found" will appear.
  4. Return to the original tab and reload it. The same JSON error will appear.

Expected behavior

The profile information should be able to load regardless of where was it opened from.

csolisr commented 1 year ago

Furthermore: removing the "$" sign from the URL does allow displaying the profile information properly.

yalh76 commented 1 year ago

what is the good way to see external profiles ?

  1. https://social.example.net/users/$NNNNNNNN
  2. https://social.example.net/users/NNNNNNNN