New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wpgraphql when the slug is persian give me null result #2847
Comments
also i fixed: support UTF-8 encoding |
@AliNaraghiA is this a valid issue still or did you fix it? I'm not sure based on your last comment. |
@jasonbahl No, I still have a problem. I can't call the post with the slug: query PostBySlugEn($slug: ID!) { QUERY VARIABLES: {
|
ALSO i can see slug : with this code 👍 |
@AliNaraghiA I opened a PR that resolves this. Would love if you could confirm the fix for your use cases 🙏🏻 |
…de-slugs fix: querying posts by slug or uri when the post name is non-ascii
Description
I am sure i have a post with slug:سلام/this is works with English and number only .
query POST_WITH_SLUG1 {
postBy(slug: "سلام") {
postId
id
databaseId
title
slug
}
}
{
"data": {
"postBy": null
},
"extensions": {
"debug": [
{
"type": "DEBUG_LOGS_INACTIVE",
"message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."
}
]
}
}
Steps to reproduce
Additional context
No response
WPGraphQL Version
last
WordPress Version
last
PHP Version
7.4
Additional enviornment details
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have disabled ALL plugins except for WPGraphQL.
The text was updated successfully, but these errors were encountered: