Closed aslakr closed 4 months ago
It seems like accounts which begins with the letter a, c, t or : is trimmed.
a
c
t
:
E.g. abc@host.tld (or aaabc@host.tld, @tactbc@host.tld etc.) becomes:
abc@host.tld
aaabc@host.tld
@tactbc@host.tld
<meta content="bc@host.tld" name="fediverse:creator">
https://github.com/willnorris/wordpress-opengraph/blob/c710ba7e528cb9521b265b4441636e4013329d32/opengraph.php#L592-L593
ltrim https://www.php.net/manual/en/function.ltrim.php might not be useful if you need to remove acct:
ltrim
acct:
hmm, good point! thanks for reporting!
It seems like accounts which begins with the letter
a
,c
,t
or:
is trimmed.E.g.
abc@host.tld
(oraaabc@host.tld
,@tactbc@host.tld
etc.) becomes:https://github.com/willnorris/wordpress-opengraph/blob/c710ba7e528cb9521b265b4441636e4013329d32/opengraph.php#L592-L593
ltrim
https://www.php.net/manual/en/function.ltrim.php might not be useful if you need to removeacct: