You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API returns inconsistently either an array or a string for author.email take the following examples:
http://localhost:5000/v1/author/NEILB is indexed as "email" : "[email protected]" (locally)
https://fastapi.metacpan.org/v1/author/NEILB is indexed as "email" : ["[email protected]"]
https://fastapi.metacpan.org/v1/author/REHSACK is "email" : "[email protected]"
So update the template logic to check first if an array email.0
Also first check for asciiname before name, which should prevent breakage in the mailto 'URI' for cases like:
"asciiname" : "Audrey Tang"
"name" : "☻ 唐鳳 ☺"
I don't think any validation exits on the asciiname field to validate it is actually ascii, perhaps this needs to be added as a seperate ticket.
Closesmetacpan#2237
0 commit comments