WCF REST GET - "*" in the Uri causing "400 Bad request
I have a service with the following Uri template
Services/UserPreferences/{key}
The users can specify "*" in the key. This is causing a 400 bad request. I have tried encoding - replacing * with %2A. That does not help either.
Any suggestions ?
Regards, Dh开发者_如何学运维ananjay
It looks like we cannot have a "*" in the URI. Will be handling this from query parameters
精彩评论