diff options
Diffstat (limited to 'samples/ProviderCustomStore/Global.asax.cs')
-rw-r--r-- | samples/ProviderCustomStore/Global.asax.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/samples/ProviderCustomStore/Global.asax.cs b/samples/ProviderCustomStore/Global.asax.cs index 7b52c6a..ad31f4f 100644 --- a/samples/ProviderCustomStore/Global.asax.cs +++ b/samples/ProviderCustomStore/Global.asax.cs @@ -3,6 +3,11 @@ using ProviderPortal; namespace ProviderCustomStore {
public class Global : System.Web.HttpApplication {
+ public Global() {
+ // since this is a sample, and will often be used with localhost
+ DotNetOpenId.UntrustedWebRequest.WhitelistHosts.Add("localhost");
+ }
+
protected void Application_BeginRequest(object sender, EventArgs e) {
URLRewriter.Process();
}
|