hasura / hasura/graphql-engine

The "%" string in the value of REST Request Variables is not url-encoded and the like search will be not work

Open
#9,652 0 comments 0 reactions 0 assignees View on GitHub
k/bug t/gql-services
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Version Information

Server Version:v2.25.0
CLI Version (for CLI related issue):

### Environment
Docker

### What is the current behaviour?
The "%" string in the value of REST Request Variables is not url-encoded and the like search will be not work

### What is the expected behaviour?
REST works in like condition with %

### How to reproduce the issue?

1.Create a where with like condition in graphql.
2.Create a REST from the created GraphSQL
3.When % is written in the value specified like in the created REST
(When %25 is written is works. %25 is url-encoded % )

### Screenshots or Screencast
![not work ](https://github.com/hasura/graphql-engine/assets/16828320/b0ab70e6-d160-4bbb-8404-50a360dc6b3d)

### Please provide any traces or logs that could help here.

### Any possible solutions/workarounds you're aware of?

### Keywords
rest url-encode

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.