I'm calling into a WCF Data Service that passes parameters via query string.
Sometimes, some of the keys contain special characters that are normally blocked, e.g. %2F (/) %5C (/) %23 (#) and so forth.
The service returns a 400 when any of these characters are passed - even in their escaped format.
The IIS tracelog shows the following:
ModuleName ServiceModel-4.0
Notification 2
HttpStatus 400
HttpReason Bad Request
HttpSubStatus 0
ErrorCode 0
ConfigExceptionInfo
Notification AUTHENTICATE_REQUEST
ErrorCode The operation completed successfully. (0x0)
indicating that the ServiceModel module set a HttpStatus of 400 and returned.
Are there configuration values that prevent WCF from unescaping similar to the .net/IIS settings found at:
msdn.microsoft.com/en-us/library/ee656542.aspx (Uri) www.iis.net/ConfigReference/system.webServer/security/requestFiltering (IIS/unescapeQueryString)
Thanks,