[SERVER-15786] REST Interface cannot query string of numbers Created: 22/Oct/14  Updated: 06/Dec/22  Resolved: 31/Jul/17

Status: Closed
Project: Core Server
Component/s: Usability
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: David Hows Assignee: Backlog - Replication Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Replication
Operating System: ALL
Steps To Reproduce:

db.test.insert({_id:1})
db.test.insert({_id:"1", val:"success"})

//Returns only the int value
curl http://localhost:28017/test/test/?filter__id=1

There is no way to query out the "success" document using the REST interface alone. Using various quotation marks will only get you string escaped quotes.

Participants:

 Description   

The rest interface will not allow you to query a string of numbers, these are always coerced to an integer value



 Comments   
Comment by Andrew Morrow (Inactive) [ 31/Jul/17 ]

The HTTP interface has been removed from the server during 3.5 development.

Generated at Thu Feb 08 03:38:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.