-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
GraphQL Query generated from windows doesn't work #41600
Labels
Milestone
Comments
quarkus-bot
bot
added
area/graphql
area/smallrye
env/windows
Impacts Windows machines
labels
Jul 2, 2024
/cc @jmartisk (graphql), @phillip-kruger (graphql) |
Ok, I struggled a bit to reproduce this because I don't have a Windows machine handy, but this seems to reproduce it on Linux:
We'll fix this, thanks for reporting. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
When using restassured, sending a graphQL query returns a malformed error. The issue is in SmallRyeGraphQLExecutionHandler. This patter:
Needs to also remove \r. \r remains in the string and isn't parsed by the JSON parser. Hence malformed.
I stripped before sending to the server to fix. Would be nice if fixed in the code above.
Expected behavior
Strip \r in addition to \n and \t
Actual behavior
Generates a malformed query exception.
How to Reproduce?
No response
Output of
uname -a
orver
windows 11
Output of
java -version
22
Quarkus version or git rev
3.9.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: