phanpy icon indicating copy to clipboard operation
phanpy copied to clipboard

Phanpy decoding webfinger URLs

Open reesericci opened this issue 11 months ago • 2 comments

Site

phanpy.social

Version

2024.12.28.119d4b0

Instance

social.hardfork.ngo

Browser

  • Safari on Sonoma

Bug description

When Phanpy fetches a webfinger account that resolves to a URL encoded string, it decodes the URL before fetching the actor. For example, if the actor resolves to https://example.com/test%253example, Phanpy will fetch https://example.com/test:example instead of fetching the encoded URL verbatim.

To reproduce

No response

Expected behavior

Fetch the encoded URL verbatim.

Other

No response

reesericci avatar Jan 21 '25 19:01 reesericci

@reesericci Is it possible to add more details? E.g. were you using the search feature? Or paste the URL in the location bar?

cheeaun avatar Jan 25 '25 13:01 cheeaun

I was using the search feature, as in pasting the URL and hitting the "look up" button

Image

reesericci avatar Feb 25 '25 18:02 reesericci