-
-
Notifications
You must be signed in to change notification settings - Fork 822
Closed
Description
from my mastodon/fediverse app, blocking a domain on pixelfed (tested on gram.social and pixelfed.social), e.g. with this request
➡️ 🌏 POST https://gram.social/api/v1/domain_blocks
➡️ 🏷️ Authorization:
➡️ 🏷️ User-Agent: fedicat
➡️ 🏷️ Accept: application/json
➡️ 🏷️ Content-Type: application/json
➡️ 💿 {
"domain" : "pc.cafe"
}
results in an error message saying it expects a full URL
{
"message" : "The domain is not a valid URL.",
"errors" : {
"domain" : [
"The domain is not a valid URL."
]
}
}and indeed it works if pass https://pc.cafe/ instead but I'm pretty sure that's incorrect, it should just take the domain (as far as I can tell that's true of all other platforms that support it), and unblock domain on pixelfed actually just takes the domain so I expect this behavior is unintentional
Metadata
Metadata
Assignees
Labels
No labels