diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-05-09 08:59:13 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-05-09 08:59:13 -0700 |
commit | f86c314f8c5629af776425b0c1bcb3af21b5d745 (patch) | |
tree | 71bcdc9766ced00512627582c6f22320f24a9a2b /samples/OpenIdRelyingPartyWebForms | |
parent | 0cacaaa25581b2027c43d3dbdfa99a025b8b2fdd (diff) | |
download | DotNetOpenAuth-f86c314f8c5629af776425b0c1bcb3af21b5d745.zip DotNetOpenAuth-f86c314f8c5629af776425b0c1bcb3af21b5d745.tar.gz DotNetOpenAuth-f86c314f8c5629af776425b0c1bcb3af21b5d745.tar.bz2 |
Made sure that IDN and IRI URI mode are turned on for all sample sites, and added a comment indicating their importance for all web sites that use this library.
Diffstat (limited to 'samples/OpenIdRelyingPartyWebForms')
-rw-r--r-- | samples/OpenIdRelyingPartyWebForms/Web.config | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/samples/OpenIdRelyingPartyWebForms/Web.config b/samples/OpenIdRelyingPartyWebForms/Web.config index 9c281a4..35f3278 100644 --- a/samples/OpenIdRelyingPartyWebForms/Web.config +++ b/samples/OpenIdRelyingPartyWebForms/Web.config @@ -6,6 +6,24 @@ <section name="dotNetOpenAuth" type="DotNetOpenAuth.Configuration.DotNetOpenAuthSection" requirePermission="false" allowLocation="true"/> </configSections> + <!-- The uri section is necessary to turn on .NET 3.5 support for IDN (international domain names), + which is necessary for OpenID urls with unicode characters in the domain/host name. + It is also required to put the Uri class into RFC 3986 escaping mode, which OpenID and OAuth require. --> + <uri> + <idn enabled="All"/> + <iriParsing enabled="true"/> + </uri> + + <system.net> + <defaultProxy enabled="true" /> + <settings> + <!-- This setting causes .NET to check certificate revocation lists (CRL) + before trusting HTTPS certificates. But this setting tends to not + be allowed in shared hosting environments. --> + <!--<servicePointManager checkCertificateRevocationList="true"/>--> + </settings> + </system.net> + <!-- this is an optional configuration section where aspects of dotnetopenauth can be customized --> <dotNetOpenAuth> <openid> @@ -25,23 +43,6 @@ </messaging> </dotNetOpenAuth> - <!-- The uri section is necessary to turn on .NET 3.5 support for IDN (international domain names), - which is necessary for OpenID urls with unicode characters in the domain/host name. --> - <uri> - <idn enabled="All" /> - <iriParsing enabled="true" /> - </uri> - - <system.net> - <defaultProxy enabled="true" /> - <settings> - <!-- This setting causes .NET to check certificate revocation lists (CRL) - before trusting HTTPS certificates. But this setting tends to not - be allowed in shared hosting environments. --> - <!--<servicePointManager checkCertificateRevocationList="true"/>--> - </settings> - </system.net> - <system.web> <!--<sessionState cookieless="true" />--> <compilation debug="true"/> |