persvr / rql

Resource Query Language
http://www.persvr.org/
268 stars 49 forks source link

Values with a space. #73

Closed ericrini closed 8 years ago

ericrini commented 8 years ago

Both of the following throw a SyntaxError.

eq(type,critical finding)
eq(type,critical%20finding)
eq(type,critical+finding)

Is it possible to have a space in the value of a function like eq?

ericrini commented 8 years ago

The issue is that the web server (Express) was actually unencoding the querystring as it tokenized it for further processing. The library expected to be passed a raw url encoded string.

So FWIW, probably not a bug.