Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.2
-
None
Description
I have the following rewrite rule :
{
"from": "/data-update/:pool/:lastvisit",
"to": "/_list/prettyJSON/questions-by-date",
"query" : {
"startkey" : [":pool", {}],
"endkey" : [":pool", ":lastvisit"],
"descending" : "true"
},
"formats":
}
My questions-by-date view emits key of the type [<str>, <int>].
The rewriter redirects /data-update/pool0/42 to /_list/prettyJSON/questions-by-date?descending=true&startkey=["pool0", {}]&endkey=["pool0", "42"]
instead of /_list/prettyJSON/questions-by-date?descending=true&startkey=["pool0", {}]&endkey=["pool0", 42]
(it adds quotes around "42").