Closed tofer closed 6 years ago
The Twilio.AspNet.Core.RequestValidationHelper class ignores the allowLocal parameter on one of the overloads.
Currently:
public bool IsValidRequest(HttpContext context, string authToken, bool allowLocal = true) { return IsValidRequest(context, authToken, null); }
Should be:
public bool IsValidRequest(HttpContext context, string authToken, bool allowLocal = true) { return IsValidRequest(context, authToken, null, allowLocal); }
Just realized you accept pull requests, which I just submitted. Cheers.
Thanks! Sorry for the delay on this.
The Twilio.AspNet.Core.RequestValidationHelper class ignores the allowLocal parameter on one of the overloads.
Currently:
Should be: