inthefabric / Fabric

The collective mind awaits your input.
www.inthefabric.com
Other
5 stars 0 forks source link

Traversal function params should ignore spaces #6

Closed zachkinstner closed 11 years ago

zachkinstner commented 11 years ago

This traversal works:

http://localhost:9000/Trav/Root/ContainsClassList/Limit(100,10)

However, a space between the Limit parameters causes Fabric returns an error:

{
    "baseUri": "http://localhost:9000",
    "requestUri": "/Trav/Root/ContainsClassList/Limit(100,%2010)",
    [...],
    "error": {
        "code": 2003,
        "name": "IncorrectParamType",
        "message": "Could not convert to type 'int'.\nStep 2: 'Limit(100,%2010)'\nParam 1: '%2010'",
        "fabType": "FabError"
    }
}