milesrichardson / ParsePy

A relatively up-to-date fork of ParsePy, the Python wrapper for the Parse.com API. Originally maintained by @dgrtwo
MIT License
515 stars 184 forks source link

Regex matching for string types does not appear to function #163

Open Gene-Rides opened 7 years ago

Gene-Rides commented 7 years ago

I have an existing Parse database with various types of information in it. I am able to get objects and use the basic functions. When I try to find an object by matching a regex expression (e.g. label_regex='$1234' on a String type in Parse, the operation fails. I am able to do this operation using the Parse Server API console.

The issue appears to be that the query manager is attempting to URL encode the escape characters and it should not be doing that. I have C++ code that performs various tasks with the Parse API and it rejects requests which include escape sequences.

imaxu commented 4 years ago

I have an existing Parse database with various types of information in it. I am able to get objects and use the basic functions. When I try to find an object by matching a regex expression (e.g. label_regex='$1234' on a String type in Parse, the operation fails. I am able to do this operation using the Parse Server API console.

The issue appears to be that the query manager is attempting to URL encode the escape characters and it should not be doing that. I have C++ code that performs various tasks with the Parse API and it rejects requests which include escape sequences.

dude, have you the solution about this question?